diff options
author | gxlin <[email protected]> | 2021-07-04 22:25:54 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-07-04 22:25:54 +0800 |
commit | 31c792619100bf1b53b57f2406cdffc8116e309a (patch) | |
tree | 72c52c4c67ffab5c50eae53b19fb121df3530bc6 | |
parent | 42553b34003b60e4738b6d5bd9e1f39044f1a377 (diff) | |
download | dotfiles-31c792619100bf1b53b57f2406cdffc8116e309a.tar.gz dotfiles-31c792619100bf1b53b57f2406cdffc8116e309a.tar.bz2 dotfiles-31c792619100bf1b53b57f2406cdffc8116e309a.zip |
Add shortcuts for fugitive.vim
-rw-r--r-- | .vim/plugins/fugitive.plug | 3 |
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> |