Skip to content

Instantly share code, notes, and snippets.

@beala
Created March 30, 2012 05:13
Show Gist options
  • Save beala/2246700 to your computer and use it in GitHub Desktop.
Save beala/2246700 to your computer and use it in GitHub Desktop.
Add these mappings to your .vimrc and you'll be able to adjust width and height of your split windows with Alt-Up, Alt-Down, etc.
nnoremap <A-Right> :vertical res +1<cr>
nnoremap <A-Left> :vertical res -1<cr>
nnoremap <A-Up> :res +1<cr>
nnoremap <A-Down> :res -1<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment