home: vim: git: use more appropriate mapping names

This commit is contained in:
Bruno BELANYI 2022-03-04 16:04:51 +01:00
parent 5263942970
commit c5d9396a7d

View file

@ -31,8 +31,8 @@ gitsigns.setup({
L = { "<cmd>:sp<CR><C-w>T:Gllog --follow -- %:p<CR>", "Current buffer log" }, L = { "<cmd>:sp<CR><C-w>T:Gllog --follow -- %:p<CR>", "Current buffer log" },
m = { "<Plug>(git-messenger)", "Current line blame" }, m = { "<Plug>(git-messenger)", "Current line blame" },
p = { gitsigns.preview_hunk, "Preview hunk" }, p = { gitsigns.preview_hunk, "Preview hunk" },
r = { gitsigns.reset_hunk, "Revert hunk" }, r = { gitsigns.reset_hunk, "Restore hunk" },
R = { gitsigns.reset_buffer, "Revert buffer" }, R = { gitsigns.reset_buffer, "Restore buffer" },
s = { gitsigns.stage_hunk, "Stage hunk" }, s = { gitsigns.stage_hunk, "Stage hunk" },
S = { gitsigns.stage_buffer, "Stage buffer" }, S = { gitsigns.stage_buffer, "Stage buffer" },
u = { gitsigns.undo_stage_hunk, "Undo stage hunk" }, u = { gitsigns.undo_stage_hunk, "Undo stage hunk" },