News for hackers. Stuff that matters.
Re:A Starting Guide to VIM from Textmate by bphogan on Friday November 19, 2010 @10:22PM (#1923747)
I used to use VIm for years before I got my mac, and I've been moving back to it recently.

One thing I'm surprised nobody ever mentions is the ! command.

If I'm working on a file and I want to, say, commit my work, I can do

    :!git commit -a -m "committing my changes"
I used to do this a lot when working with Oracle and Bash. It's much quicker than opening another terminal for one-off commands.
Re:A Starting Guide to VIM from Textmate by matwood on Friday November 19, 2010 @10:40PM (#1923777)
You can always use fugitive which wraps many git commands into vim plugin:

http://www.vim.org/scripts/script.php?script_id=2975

Re:A Starting Guide to VIM from Textmate by bphogan on Friday November 19, 2010 @10:45PM (#1923784)
Yes, that's really great too... I was just looking for an example that many people could relate to. :)
Re:A Starting Guide to VIM from Textmate by jamesbritt on Saturday November 20, 2010 @12:20PM (#1924818)
and :sh

drops you into a shell

Very handy.