nvim: add some git key mappings
This commit is contained in:
parent
2cded93650
commit
8f85805bf1
@ -63,3 +63,8 @@ require('gitlinker').setup({
|
||||
end,
|
||||
}
|
||||
})
|
||||
|
||||
map('n', '<Leader>gc', ':Git commit<CR>', 'commit')
|
||||
map('n', '<Leader>gp', ':Git push<CR>', 'push')
|
||||
map('n', '<Leader>gau', ':Git add --update --patch<CR>', 'add -u -p')
|
||||
map('n', '<Leader>gl', ':Git log --decorate<CR>', 'log')
|
||||
|
Loading…
x
Reference in New Issue
Block a user