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?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community