Skip to content

Instantly share code, notes, and snippets.

@MarkBorcherding
Created May 8, 2011 20:56
Show Gist options
  • Save MarkBorcherding/961687 to your computer and use it in GitHub Desktop.
Save MarkBorcherding/961687 to your computer and use it in GitHub Desktop.
Resize Vim Windows
" Fast window resizing with +/- keys (horizontal); / and * keys (vertical)
if bufwinnr(1)
map <kPlus> <C-W>+
map <kMinus> <C-W>-
map <kDivide> <c-w><
map <kMultiply> <c-w>>
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment