Answer the question
In order to leave comments, you need to log in
How to map a keyboard shortcut to resize a window?
I want to map keys on window resize
nnoremap <silent> <Leader>[ :exe "resize " . (winheight(0) * 3/2)<CR>
nnoremap <silent> <Leader>] :exe "resize " . (winheight(0) * 2/3)<CR>
set nocompatible
set tags=./tags,tags
Answer the question
In order to leave comments, you need to log in
Enter: ctrl ]
<C-]>
to navigate through "tags". :verbose map <C-]>
:verbose nmap <buffer>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question