aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/fugitive.vim
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
committerGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
commit0587d80453bc92acb20b351fd17bc2f9126e01b0 (patch)
treec16ded09f47751abca3f21b35825a1c7873425ba /.vim/after/plugin/fugitive.vim
parent9ed3898acfdab8f1361e46c755f337eec96c4028 (diff)
downloaddotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.gz
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.bz2
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.zip
Update plugin config location in vim
Diffstat (limited to '.vim/after/plugin/fugitive.vim')
-rw-r--r--.vim/after/plugin/fugitive.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/.vim/after/plugin/fugitive.vim b/.vim/after/plugin/fugitive.vim
new file mode 100644
index 0000000..6178757
--- /dev/null
+++ b/.vim/after/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>