Copy and paste mouse inside and outside vim

ubuntu needs to install vim-gnome

1.sudo apt-get install vim-gnome installation

2. Enter vim, copy outside, right mouse button inside.

3. Not enabled for the first time, press + p when entering vim, right click

"+ Y means copy from vim to the system cut version,

 "+ P means paste from external file (system cut version) to vim,

 "+ D means cut

Guess you like

Origin www.cnblogs.com/xiangyangcao/p/12713891.html