I want to use F1 in vim-gnome* on Ubuntu 14.04.2. But when I press F1 I get Gnome "help". It's stopping me from remapping F1 to something useful.
Searching reveals that the trick is to use dconf to map F1 to something else, but this doesn't work for me; it stops the help window from appearing but Gnome still seems to be stealing the key before Vim sees it.
*: I've installed vim-gnome
because that's what you have to do if you want support for clipboard but can't be bothered building Vim from source.
nnoremap <F1> :echo "something useful"<CR>
works perfectly without doing anything weird.