vimrc trick not bad :
To put this into a mapping, you can use:
:map <F7> :if exists("g:syntax_on") <Bar>
\ syntax off <Bar>
\ else <Bar>
\ syntax enable <Bar>
\ endif <CR>
-
http://vimdoc.sourceforge.net/htmldoc/syntax.html