Allow Copy Out Of Vim With Mouse Enabled

Posted by Weston Ganger

Firstly to enable the use of the mouse in Vim you can add the following to your vim config

set mouse=a

To copy text out of Vim with the mouse you must use the following technique:

You have to Hold Shift before highlighting any text so that Vim will act as if mouse=a is not enabled

And of course Ctrl+Shift+C to copy the text afterwards

Article Topic:Software Development - Linux

Date:August 20, 2014

Recommended Posts



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected