In my vimrc I have:
nnoremap <F4> :SyntasticToggleMode<CR>
And this works.
But I also have the unicode.vim plugin installed, which overrides this mapping:
if !hasmapto('<Plug>(MakeDigraph)', 'n') nmap <F4> <Plug>(MakeDigraph) endif
I "fixed" this by doing:
nnoremap <F13> <Plug>(MakeDigraph) vnoremap <F13> <Plug>(MakeDigraph)
<F13> is a key I happen to not use... But this is obviously fragile and doesn't scale well.
Is there a better way to accomplish this?