Wednesday, April 28, 2010

FAQ 19.2 toggle set option ?

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.

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

No comments:

Post a Comment