nvim: add some git key mappings

This commit is contained in:
tastytea 2022-10-01 19:15:03 +02:00
parent 2cded93650
commit 8f85805bf1
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -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')