how to overwrite default system key mapping in vim
-
22-09-2019 - |
Question
I want to map f1 to create a new tab so I add the following line
map <F1> :tabnew <CR>
into my .vimrc and save it . But when I hit f1 in vim the GNOME TERMINAL MANNUAL window pops up rather than a new tab being created . So what should I do in this situation ?
Solution
Go to Edit | Keyboard Shortcuts...
and remap or remove the shortcut.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow