Git reset keyboard shortcut

This commit is contained in:
Emmanuel BENOîT 2020-12-07 16:54:56 +01:00
parent 6271dab725
commit cc1fa1eecf
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ nnoremap <silent> <Leader>ga :Git add %:p<cr>
nnoremap <silent> <Leader>gd :Gdiffsplit<cr>
nnoremap <silent> <Leader>gs :Git<cr>
nnoremap <silent> <Leader>gc :Git commit -q<cr>
nnoremap <silent> <Leader>gz :Git reset %:p<cr>
nnoremap <Leader>gb :Git branch<space>
" Note: dangerous commands don't have a <cr>. Also commands that need