Allow Copy Out Of Vim With Mouse Enabled

Posted by Weston Ganger on August 20, 2014

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

Posted in Linux and Tagged with vim mouse copy paste 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts