Allow Copy Out Of Vim With Mouse Enabled

Posted By Weston Ganger

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

set mouse=a

<p>To copy text out of Vim with the mouse you must use the following technique:</p>
<p>You have to Hold Shift before highlighting any text so that Vim will act as if mouse=a is not enabled</p>
<p>And of course Ctrl+Shift+C to copy the text afterwards</p>

Article Topic:Software Development - Linux

Date:August 20, 2014