On 10/19/06, Jeff Lanzarotta <[EMAIL PROTECTED]> wrote:
Hello,

I have the following in my vimrc,

--------
" This shows spaces and tabs characters. Visual Whitespace.
set listchars=tab:»·,trail:·
set list
--------

That all work well and good, but I would like to disable this display
of visual white space temporarily, do something, and then reset it back
to what I had. Is there a way to do this?

Peace,
How about this in your .vimrc
nmap <F5> :set invlist<cr>
imap <F5> <esc>:set invlist<cr>a

and then F5 would toggle list on and off.

HTH
Marius

Reply via email to