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