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

View file

@ -46,6 +46,7 @@ let g:which_key_map.g.p = 'pull'
let g:which_key_map.g.r = 'rename'
let g:which_key_map.g.R = 'remove'
let g:which_key_map.g.s = 'status'
let g:which_key_map.g.z = 'unstage'
" Help
let g:which_key_map.h = { 'name' : '+help' }