joshuadavey
SQL Window Functions and You
Re:Easier atomic commits in Git
on Thursday May 17, 2012 @12:30PM (#3987734)
Gary Bernhardt's Destroy All Software screencast series includes some good points on why keeping commits atomic is a good idea, and Wikipedia has a good general description of this SCM "convention": http://en.wikipedia.org/wiki/Atomic_commit#Atomic_Commit_Con...
Re:Faster TDD feedback with tmux, tslime.vim, and turbux.vim
on Tuesday January 17, 2012 @11:39AM (#3475399)
I would also recommend two of Steve Klabnik's articles: http://blog.steveklabnik.com/posts/2011-09-22-extracting-dom... and http://blog.steveklabnik.com/posts/2011-09-06-the-secret-to-...
Another excellent resource is Gary Bernhardt's "Destroy All Software" screencast series. They are well worth the $9/month pricetag. https://www.destroyallsoftware.com
Re:Faster TDD feedback with tmux, tslime.vim, and turbux.vim
on Tuesday January 17, 2012 @11:36AM (#3475388)
Thanks, Brice! I also recommend implementing it yourself first. After I did just that, I found myself wanting a little bit more smarts with my vim mapping. Since most of my work is in rails, and I use rails.vim, I was able leverage rails.vim's buffer detection for alternate files.
In essence, if I'm in a controller that has a corresponding spec or test, the mapping with run that spec. If there is no corresponding spec, it will run the most recent command again. I find this useful for outside-in development, where a change in a controller might make a cucumber scenario pass.
I would, however, add that the command you mention above would need to include C-m at the end to actually send the terminal a "newline" character, thereby running the command.
In any case, I appreciate your interest in the project, and your helpful example!