aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-07-04 22:25:54 +0800
committergxlin <[email protected]>2021-07-04 22:25:54 +0800
commit31c792619100bf1b53b57f2406cdffc8116e309a (patch)
tree72c52c4c67ffab5c50eae53b19fb121df3530bc6
parent42553b34003b60e4738b6d5bd9e1f39044f1a377 (diff)
downloaddotfiles-31c792619100bf1b53b57f2406cdffc8116e309a.tar.gz
dotfiles-31c792619100bf1b53b57f2406cdffc8116e309a.tar.bz2
dotfiles-31c792619100bf1b53b57f2406cdffc8116e309a.zip
Add shortcuts for fugitive.vim
-rw-r--r--.vim/plugins/fugitive.plug3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/plugins/fugitive.plug b/.vim/plugins/fugitive.plug
index 8029fc3..8dd25b2 100644
--- a/.vim/plugins/fugitive.plug
+++ b/.vim/plugins/fugitive.plug
@@ -1,4 +1,7 @@
+" vim: ft=vim
+
Plug 'tpope/vim-fugitive'
nnoremap <silent> <leader>gl :Gclog! -- %<CR>
nnoremap <silent> <leader>gd :Gdiffsplit <CR>
+nnoremap <silent> <leader>gs :G<CR>