1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update fugitive settings

This commit is contained in:
jdhao 2021-07-27 00:01:45 +08:00
parent 69e9a6b872
commit 7ff53d1b91
2 changed files with 2 additions and 2 deletions

View File

@ -255,9 +255,9 @@ let g:signify_vcs_list = [ 'git' ]
let g:signify_sign_change = '~'
"""""""""""""""""""""""""vim-fugitive settings""""""""""""""""""""""""""""""
nnoremap <silent> <leader>gc :Git commit<CR>
nnoremap <silent> <leader>gs :Git<CR>
nnoremap <silent> <leader>gw :Gwrite<CR>
nnoremap <silent> <leader>gc :Git commit<CR>
nnoremap <silent> <leader>gpl :Git pull<CR>
" Note that to use bar literally, we need backslash it, see also `:h :bar`.
nnoremap <silent> <leader>gpu :15split \| term git push

View File

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