Skip to content
Browse files

* save on focus lost

* better javascript indentation plugin
  • Loading branch information...
1 parent 3a5cd72 commit 487f9124fec2765ad75fe7c9116fee3c128052e2 @drichard committed Apr 3, 2012
Showing with 6 additions and 0 deletions.
  1. +1 −0 bundle/vim-web-indent
  2. +5 −0 vimrc
1 bundle/vim-web-indent
@@ -0,0 +1 @@
+Subproject commit bc50bb410e8ec19eab7fe6c4425925471593dea4
View
5 vimrc
@@ -16,6 +16,7 @@ Bundle 'git://git.wincent.com/command-t.git'
Bundle 'Lokaltog/vim-powerline'
Bundle 'tpope/vim-fugitive'
Bundle 'mileszs/ack.vim'
+Bundle 'lukaszb/vim-web-indent'
filetype plugin indent on " required!
@@ -106,6 +107,10 @@ nnoremap k gk
set nobackup " no backup or swap file
set noswapfile
+
+" Save all when focus is lost, skip untitled buffers
+:au FocusLost * silent! wa
+
" In vim 7.3.74 and higher you can set clipboard=unnamedplus to alias unnamed
" register to the + register, which is the X Window clipboard.
set clipboard=unnamedplus

0 comments on commit 487f912

Please sign in to comment.
Something went wrong with that request. Please try again.