• Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
all links
  • vim : map Toggle syntax coloration

    vimrc trick not bad :

    To put this into a mapping, you can use:
    :map :if exists("g:syntax_on")
    \ syntax off
    \ else
    \ syntax enable
    \ endif

    January 29, 2014 - permalink - http://vimdoc.sourceforge.net/htmldoc/syntax.html
    vim