This question already has an answer here:
- How to map Alt key? 5 answers
I am trying to map the key Alt+j in vimrc to adjust the height of the window:
tnoremap <A-j> <C-\><C-n>5<C-w>-i
nnoremap <A-j> <C-\><C-n>5<C-w>-
But it seems not to work. What is the correct way to do this?