- Lookup the key you want to override - :help terminal-options
- Then type "set ~option~=
~Control V~~press the key that doesn't work~"
- The key is now overriden. To make it permanent, copy the command into your .vimrc (use :
to view a buffer of all ex commands for easy copy/pasting).
This might sound a little complicated. Its not. Here is an example. Say that the 'up' arrow key doesn't do anything when you are in vim. No problem.
- Type :help terminal-options --- Aha, I see a table and in that table it says that 't_ku' is the 'arrow up' key.
- Type :set t_ku=
~Ctrl-V~~up~ (where everything between ~s are the control V and then pushing the up key).
- Tada, the up arrow key now works correctly.