Browse Source

Add git keybindings

Frans Bergman 6 years ago
parent
commit
ec12524704
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .vimrc

+ 4 - 0
.vimrc

@@ -34,6 +34,10 @@ nnoremap <leader>sv :source $MYVIMRC<cr>
 
 nnoremap <leader>f :tabfind ./**/
 
+nnoremap <leader>gs :Gstatus<cr>
+nnoremap <leader>gc :Gcommit<cr>
+nnoremap <leader>gr :Git rebase -i
+
 " Local (scope) replace
 nnoremap gr gd[{V%::s/<C-R>///gc<left><left><left>