Vim Tips Wiki

Close windows from gvim popup menu

Redirected from VimTip261

1,623pages on
this wiki
Add New Page
Add New Page Talk0
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


: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>



Also on Fandom

Random Wiki