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

more fugitive shortcut

This commit is contained in:
jdhao
2021-12-05 11:20:34 +08:00
parent 9e6a71c32d
commit dd61f1da8c
2 changed files with 3 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ let g:signify_sign_change = '~'
nnoremap <silent> <leader>gs :Git<CR>
nnoremap <silent> <leader>gw :Gwrite<CR>
nnoremap <silent> <leader>gc :Git commit<CR>
nnoremap <silent> <leader>gd :Gdiffsplit<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