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 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts