3 ms·
Seconded. This is one of the few lines in my .vimrc > nmap <F11> :if exists("syntax_on") \| syntax off \| else \| syntax enable \| endif \|<newline><newline>
by jstimpfle 11y ago
Seconded. This is one of the few lines in my .vimrc
> nmap <F11> :if exists("syntax_on") \| syntax off \| else \| syntax enable \| endif \|<newline><newline>
that makes F11 a toggle-highlighting button. Sometimes, highlighting helps spotting syntax errors.
Other than that, setting the "xterm*termName" X resource property to "xterm-256color" makes colors in vim much less distracting.