From 7ff53d1b91bef34c69b37b95a41841a3456ed68c Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 27 Jul 2021 00:01:45 +0800 Subject: [PATCH] update fugitive settings --- core/plugins.vim | 2 +- lua/plugins.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index 9fa4229..4edde50 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -255,9 +255,9 @@ let g:signify_vcs_list = [ 'git' ] let g:signify_sign_change = '~' """""""""""""""""""""""""vim-fugitive settings"""""""""""""""""""""""""""""" -nnoremap gc :Git commit nnoremap gs :Git nnoremap gw :Gwrite +nnoremap gc :Git commit nnoremap gpl :Git pull " Note that to use bar literally, we need backslash it, see also `:h :bar`. nnoremap gpu :15split \| term git push diff --git a/lua/plugins.lua b/lua/plugins.lua index 4a5386c..af52ac4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -178,7 +178,7 @@ require('packer').startup( -- use 'airblade/vim-gitgutter' -- Git command inside vim - use 'tpope/vim-fugitive' + use {'tpope/vim-fugitive', cmd = {'Git',}} -- Better git log display use {'rbong/vim-flog', require = 'tpope/vim-fugitive' }