I can resize horizontal split windows by ctrl-w-shift-<
and ctrl-w-shift->
. I would like to have a shortcut for that.
Close to the topic, recently I learned about the following maps:
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-h> <C-w>h
nnoremap <C-l> <C-w>l
So I tried:
nnoremap <C-\<> <C-w>\<
nnoremap <C-\>> <C-w>\>
But it seems not to be working.
While waiting for an answer I'm using @john-mo mouse approach from How do I change the current split's width and height?