Permalink
Browse files

Added some common bindings for Fugative

  • Loading branch information...
tedkulp committed Jan 28, 2012
1 parent a2dc7f0 commit dc77d3bf735b88e4870c63b4d5d2df3c41afab2b
Showing with 17 additions and 1 deletion.
  1. +8 −1 .vim/common_config/plugin_config.vim
  2. +9 −0 README.md
@@ -11,7 +11,6 @@ Bundle "tpope/vim-abolish"
Bundle "tpope/vim-bundler"
Bundle "tpope/vim-cucumber"
Bundle "tpope/vim-endwise"
-Bundle "tpope/vim-fugitive"
Bundle "tpope/vim-git"
Bundle "tpope/vim-markdown"
Bundle "tpope/vim-rails"
@@ -121,6 +120,14 @@ Bundle "scrooloose/nerdtree"
endif
endfunction
+Bundle "tpope/vim-fugitive"
+ map <leader>gb :Gblame<CR>
+ map <leader>gs :Gstatus<CR>
+ map <leader>gd :Gdiff<CR>
+ map <leader>gl :Glog<CR>
+ map <leader>gc :Gcommit<CR>
+ map <leader>gp :Git push<CR>
+
Bundle "kien/ctrlp.vim"
map <Leader>t :CtrlP<cr>
map <Leader>m :CtrlPMRU<cr>
View
@@ -202,6 +202,15 @@ with the current branch in (surprise!) your statusline.
Oh, and of course there's `:Git` for running any arbitrary command.
+**Customizations**:
+
+Binds `<leader>gb` to `:Gblame`
+Binds `<leader>gs` to `:Gstatus`
+Binds `<leader>gd` to `:Gdiff`
+Binds `<leader>gl` to `:Glog`
+Binds `<leader>gc` to `:Gcommit`
+Binds `<leader>gp` to `:Git push`
+
## [ZoomWin](http://github.com/vim-scripts/ZoomWin) ##
When working with split windows, ZoomWin lets you zoom into a window and

0 comments on commit dc77d3b

Please sign in to comment.