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:
parent
69e9a6b872
commit
7ff53d1b91
@ -255,9 +255,9 @@ let g:signify_vcs_list = [ 'git' ]
|
|||||||
let g:signify_sign_change = '~'
|
let g:signify_sign_change = '~'
|
||||||
|
|
||||||
"""""""""""""""""""""""""vim-fugitive settings""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""vim-fugitive settings""""""""""""""""""""""""""""""
|
||||||
nnoremap <silent> <leader>gc :Git commit<CR>
|
|
||||||
nnoremap <silent> <leader>gs :Git<CR>
|
nnoremap <silent> <leader>gs :Git<CR>
|
||||||
nnoremap <silent> <leader>gw :Gwrite<CR>
|
nnoremap <silent> <leader>gw :Gwrite<CR>
|
||||||
|
nnoremap <silent> <leader>gc :Git commit<CR>
|
||||||
nnoremap <silent> <leader>gpl :Git pull<CR>
|
nnoremap <silent> <leader>gpl :Git pull<CR>
|
||||||
" Note that to use bar literally, we need backslash it, see also `:h :bar`.
|
" Note that to use bar literally, we need backslash it, see also `:h :bar`.
|
||||||
nnoremap <silent> <leader>gpu :15split \| term git push
|
nnoremap <silent> <leader>gpu :15split \| term git push
|
||||||
|
|||||||
@ -178,7 +178,7 @@ require('packer').startup(
|
|||||||
-- use 'airblade/vim-gitgutter'
|
-- use 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
-- Git command inside vim
|
-- Git command inside vim
|
||||||
use 'tpope/vim-fugitive'
|
use {'tpope/vim-fugitive', cmd = {'Git',}}
|
||||||
|
|
||||||
-- Better git log display
|
-- Better git log display
|
||||||
use {'rbong/vim-flog', require = 'tpope/vim-fugitive' }
|
use {'rbong/vim-flog', require = 'tpope/vim-fugitive' }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user