nvim: add more git commands
This commit is contained in:
parent
1339b8782b
commit
16d7ba1e3f
@ -69,4 +69,6 @@ map('n', '<Leader>gc', ':Git commit<CR>', 'commit')
|
||||
map('n', '<Leader>gp', ':Git push<CR>', 'push')
|
||||
require('which-key').register({ ['<Leader>ga'] = { name = 'add' } })
|
||||
map('n', '<Leader>gau', ':Git add --update --patch<CR>', '--update --patch')
|
||||
map('n', '<Leader>ga%', ':Git add %<CR>', 'This file')
|
||||
map('n', '<Leader>gl', ':Git log --decorate<CR>', 'log')
|
||||
map('n', '<Leader>gs', ':Git status<CR>', 'status')
|
||||
|
Loading…
x
Reference in New Issue
Block a user