TYVM, sir! That's a 110% response. :)

 I used:

map <F12> :set invwrap<CR>
imap <F12> <C-O>:set invwrap<CR>

in

/root/.vimrc
~/.vimrc
/root/.gvimrc
~/.gvimrc
&
/usr/share/vim/vim74/evim.vim

and it works perfectly in evim, gvim, and vim.  For the possible benefit of
people reading this because they got here through a search engine looking
for the same thing I'll add that the single line

map <F12> :set wrap!<cr>

that I've seen elsewhere asserted to do the same thing does not work for me
on a plain Openbox system (no LXDE, no Lubuntu) built from the 32 bit Ubuntu
13.10 Saucy mini.iso as of 2014.02-Feb.16. 





--
View this message in context: 
http://vim.1045645.n5.nabble.com/add-menus-or-buttons-to-menu-bar-or-tool-bar-where-is-a-how-to-tp5720484p5720488.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to