Resize your Splits easily

2 Points

Durga Swaroop Perla Durga Swaroop Perla

2 years ago

I work with Split screens all the time and these are some of the few mappings that I use the most. You can resize both the vertical and horizontal splits this way.

nnoremap <C-Right> :vertical resize +5<CR>
nnoremap <C-Left> :vertical resize -5<CR>
nnoremap <C-Up> :res +5<CR>
nnoremap <C-Down> :res -5<CR>