Skip to content

Instantly share code, notes, and snippets.

@b333z
b333z / gist:4290844
Last active October 14, 2015 02:07 — forked from anonymous/gist:4290841
git add .gitkeep to working dir tree to preserve empty dirs
find . -type d -empty -exec touch {}/.gitkeep \;
@maxsum-corin
maxsum-corin / gist:1044165
Created June 24, 2011 03:25
Multiple windows in vim
:split filename
ctrl-w w split window and load another file
:vsplit filename
ctrl-w v vertical split
:hide
ctrl-w q close current window
ctrl-w arrow move cursor up/down/left/right a window
ctrl-w ctrl-w move cursor to another window (cycle)