# HG changeset patch # User Steve Losh # Date 1284735722 14400 # Node ID 67946af79b72a89a14d8bc41d96f176d0748b980 # Parent becbb11a189311ec1d91345564e0ec003400c1c0 vim: save when losing focus diff -r becbb11a1893 -r 67946af79b72 bootstrap.sh --- a/bootstrap.sh Thu Sep 16 08:40:23 2010 -0400 +++ b/bootstrap.sh Fri Sep 17 11:02:02 2010 -0400 @@ -45,6 +45,7 @@ ln -s "$HOME/lib/dotfiles/.hgrc" "$HOME/.hgrc" ln -s "$HOME/lib/dotfiles/vim/.vim" "$HOME/.vim" ln -s "$HOME/lib/dotfiles/vim/.vimrc" "$HOME/.vimrc" +ln -s "$HOME/lib/dotfiles/.screenrc" "$HOME/.screenrc" rm ~/.zshrc rm ~/.bashrc diff -r becbb11a1893 -r 67946af79b72 vim/.vimrc --- a/vim/.vimrc Thu Sep 16 08:40:23 2010 -0400 +++ b/vim/.vimrc Fri Sep 17 11:02:02 2010 -0400 @@ -227,3 +227,6 @@ " Shouldn't need shift nnoremap ; : +" Save when losing focus +au FocusLost * :wa +