From 10635e088863c6ae5e99420b9e9b1130984250a1 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI <bruno@belanyi.fr> Date: Fri, 4 Mar 2022 16:04:51 +0100 Subject: [PATCH] home: vim: git: use more appropriate mapping names --- home/vim/plugin/settings/git.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/vim/plugin/settings/git.vim b/home/vim/plugin/settings/git.vim index c8f11a1..f376569 100644 --- a/home/vim/plugin/settings/git.vim +++ b/home/vim/plugin/settings/git.vim @@ -31,8 +31,8 @@ gitsigns.setup({ L = { "<cmd>:sp<CR><C-w>T:Gllog --follow -- %:p<CR>", "Current buffer log" }, m = { "<Plug>(git-messenger)", "Current line blame" }, p = { gitsigns.preview_hunk, "Preview hunk" }, - r = { gitsigns.reset_hunk, "Revert hunk" }, - R = { gitsigns.reset_buffer, "Revert buffer" }, + r = { gitsigns.reset_hunk, "Restore hunk" }, + R = { gitsigns.reset_buffer, "Restore buffer" }, s = { gitsigns.stage_hunk, "Stage hunk" }, S = { gitsigns.stage_buffer, "Stage buffer" }, u = { gitsigns.undo_stage_hunk, "Undo stage hunk" },