Scott Gerstenberger/Wikimedia Commons/Public Domain
Dotfiles for vim and git. Friendly to Backbone.js projects, Arduino, Processing and Ruby.
Git clone, then run install-mainframe
from inside this directory.
git-branch-status
show which branches are ahead and behind one another.git-directory-status
a github like status of the last changes to all folders/files inside the current directory.ll
(el-el) show only symlinks in current directory.p
quick access to most recent directories under ~/Projects
search_file_names [text]
return files with [text] in their names.search_file_content [text]
return files with [text] in their contents.
replace_file_content [match] [replace]
Replace [match] with [replace] in files.rename_files [match] [replace]
Replace [match] with [replace] in file names.copy_and_rename_files [match] [rename]
Copy to new files, replacing [match] with [rename] in their file name.
Example use: search_file_names "cat" | replace_file_content "food" "spaceship" would replace all 'food' with 'spaceship' in files with cat in their name.
Some often used git shortcuts:
gap
git add --patchgc
git commitgp
git pushgs
git statusgdl
git detail log, single lines eachgnl
git log showing file addition/removalgfl [file]
git log of a single files changes over time