News for hackers. Stuff that matters.
Re:Use Vim Like A Pro by tel on Monday November 01, 2010 @10:12AM (#1856490)
It may not have quite the same effect but

   :au FocusLost * :wa
should autosave when you switch to the browser without requiring keypresses.
Re:Use Vim Like A Pro by thecoffman on Monday November 01, 2010 @10:39AM (#1856594)
This gets annoying sometimes if you're working in an unnamed file. If you haven't saved yet, or don't intend to (just a scratch buffer or something) it throws an error every time you switch contexts.
Re:Use Vim Like A Pro by graywh on Monday November 01, 2010 @10:34AM (#1856578)
Only when using gVim.