Browse Source

Add bindings for git workflow

Thomas Dy 8 years ago
parent
commit
9849958e5b
1 changed files with 6 additions and 1 deletions
  1. 6 1
      .vimrc

+ 6 - 1
.vimrc

@@ -11,6 +11,7 @@ Plug 'Shougo/unite.vim'
 Plug 'Shougo/vimproc.vim', {'do' : 'make'}
 Plug 'EinfachToll/DidYouMean'
 Plug 'diepm/vim-rest-console'
+Plug 'idanarye/vim-merginal'
 
 Plug 'vim-scripts/dbext.vim', {'for': 'sql'}
 Plug 'cespare/vim-toml'
@@ -160,7 +161,11 @@ nnoremap <C-T>h :tabprev<cr>
 nnoremap <C-T>l :tabnext<cr>
 
 " grepper
-nnoremap <Leader>g :Unite grep:.<CR>
+nnoremap <Leader>f :Unite grep:.<CR>
+
+" git
+nnoremap <Leader>gs :Gstatus<CR>
+nnoremap <Leader>gb :Merginal<CR>
 
 " ------ nvim specific ------
 if has('nvim')