hashrocket/dotmatrix — pull request #7 by jearsh (2012-10-04 13:16:30+00:00)
Title: Added the gs function, to make git status useful

Demo: http://youtu.be/_fFzgnyYYD4
Explanation: http://anshoudesu.wordpress.com/2012/10/04/enhancing-git-status-with-gs/

Basically, gs lists your modified files, and optionally allows you to grep that list. This may sound a lot like git status. However, it does it in a way that is compliant with the unix philosophy. ("Write programs to work together." ) You can use gs to do things like, open files you were working on, check the syntax of some files, etc.

gs # list all modified files (like git status -s, without the '[?MADR]' label
gs views # list the modified views
vim -O $(gs views) # open modified views with vim, in vertical splits