Vim Tips Wiki
Register
Advertisement
Tip 261 Printable Monobook Previous Next

created 2002 · complexity basic · author sean · version 6.0


In gvim, you can use the mouse for copy/paste etc with:

:set mousemodel=popup

or:

:set mousemodel=popup_setpos

You can also customize your popup menu by editing $VIMRUNTIME/menu.vim.

To close windows from the popup menu add these lines to your .gvimrc

:amenu PopUp.Close.\ Window :confirm close<CR>
:amenu PopUp.Close.\ Other :confirm only<CR>

References[]

Comments[]

Advertisement