Browse files

Kill fugitive buffer clutter.

  • Loading branch information...
1 parent 0df0ef1 commit 9d3337d4a0c3dc7953f51968065ba4b5d529a726 @rtlechow committed Dec 11, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 .vimrc
2 .vimrc
@@ -132,7 +132,9 @@ map <Bs> bdw.
autocmd BufNewFile,BufRead *_spec.rb compiler rspec
autocmd BufNewFile,BufRead *_test.rb compiler rubyunit
+autocmd BufReadPost fugitive://* set bufhidden=delete
map <leader>gs :Gstatus<cr>
map <leader>gv :CommandTFlush<cr>\|:CommandT app/views<cr>
map <leader>gc :CommandTFlush<cr>\|:CommandT app/controllers<cr>
map <leader>gm :CommandTFlush<cr>\|:CommandT app/models<cr>

0 comments on commit 9d3337d

Please sign in to comment.