Quantcast
Channel: How can I make Vim paste from (and copy to) the system's clipboard? - Stack Overflow
Viewing all articles
Browse latest Browse all 39

Answer by dr0i for How can I make Vim paste from (and copy to) the system's clipboard?

$
0
0

Since vim 8 right click enables visual mode by default. This prevents the "normal" copy & paste (call it a "defect by design"https://github.com/vim/vim/issues/1326).Fix it by doing:

echo "set mouse-=a">> ~/.vimrc .

Exit and restart vim.


Viewing all articles
Browse latest Browse all 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>