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' }