aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugin/fugitive.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/plugin/fugitive.vim')
-rw-r--r--.vim/plugin/fugitive.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/.vim/plugin/fugitive.vim b/.vim/plugin/fugitive.vim
new file mode 100644
index 0000000..f3a67bb
--- /dev/null
+++ b/.vim/plugin/fugitive.vim
@@ -0,0 +1,7 @@
+nnoremap <silent> <leader>gs :tabnew +Git<CR>
+
+nnoremap <leader>gp :G push<space>
+nnoremap <leader>g<space> :G<space>
+nnoremap <leader>gd :Gvdiffsplit<space>
+nnoremap <leader>gl :Gclog %<space>
+xnoremap <leader>gl :Gclog<CR>