Git reset keyboard shortcut
This commit is contained in:
parent
6271dab725
commit
cc1fa1eecf
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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' }
|
||||
|
|
Loading…
Reference in a new issue