No edit summary |
JohnBeckett (talk | contribs) (Incorporate tip 260 that failed to import.) |
||
Line 9: | Line 9: | ||
|rating=16/12 |
|rating=16/12 |
||
|text= |
|text= |
||
+ | In gvim, you can use the mouse for copy/paste etc with: |
||
⚫ | |||
+ | :set mousemodel=popup |
||
+ | You can also customise your popup menu by editing $VIMRUNTIME/menu.vim. |
||
⚫ | |||
⚫ | |||
− | :amenu PopUp.Close.\ |
+ | :amenu PopUp.Close.\ Window :confirm close<CR> |
⚫ | |||
− | |||
− | |||
− | You obviously need ':set mousemodel=popup' in your .gvimrc as well :=) |
||
}} |
}} |
||
== Comments == |
== Comments == |
||
+ | '''TODO''' Fix ghastly title. |
||
− | <!-- parsed by vimtips.py in 0.568457 seconds--> |
||
+ | |||
+ | ---- |
||
+ | [[Category:Usage]] |
Revision as of 05:58, 7 September 2007
Created: June 13, 2002 2:15 Complexity: basic Author: sean Version: 6.0 Karma: 16/12 Imported from: Tip#261
In gvim, you can use the mouse for copy/paste etc with:
:set mousemodel=popup
You can also customise 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>
Comments
TODO Fix ghastly title.