On Wed, Apr 28, 2010 at 3:07 AM, stosss <[email protected]> wrote: > I read: > > http://vimdoc.sourceforge.net/cgi-bin/vimfaq2html3.pl#19.2 > > and > > :help set-option > > I don't understand how this: > > :se[t] {option}! or > :se[t] inv{option} > > works > > I want to be able to use one <F> key to toggle between :set wrap and :set > nowrap > > I don't know how to do this but it appears that it can be done.
Never mind I had tried several ways before sending the OP but not the right one. I got it. noremap <F12> :se wrap!<CR> -- If we can but prevent the government from wasting the labours of the people, under the pretence of taking care of them, they must become happy. - Thomas Jefferson -- 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
