This question already has an answer here:
- How to map Alt key? 5 answers
I am trying to map the key sequence Ctrl-W arrow key to navigate between open split windows in Vim. I find it a bit too complicated to press 3 keys to move between open windows so ideally I would like to map this sequence to the sequence I normally use in Terminator Alt-arrow key. For example, in Terminator I would press Alt-Left to move one window to the left, Alt-Down to move one window to the bottom, etc.
I have tried following Vim key mappings page and tried this:
:map <press Alt-Down> <press Ctrl-W><press Down>
but it doesn't work. No error message. Nothing happens.
I've also tried this:
:map <A-Down> <C-W><Down>
but it doesn't work either.
Do I miss anything? How do I map Ctrl-W arrow to Alt-arrow?