From 46cfb7ddca956a5515b3578d995d732bd4e49137 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Wed, 14 Feb 2024 01:01:55 +0100 Subject: [PATCH] vim: better keymaps for git operations --- config/nvim/lua/fschauen/plugins/fugitive.lua | 5 ++--- config/nvim/lua/fschauen/plugins/neogit.lua | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/nvim/lua/fschauen/plugins/fugitive.lua b/config/nvim/lua/fschauen/plugins/fugitive.lua index fd961bc..6907d36 100644 --- a/config/nvim/lua/fschauen/plugins/fugitive.lua +++ b/config/nvim/lua/fschauen/plugins/fugitive.lua @@ -6,9 +6,8 @@ M.cmd = { } M.keys = { - { 'gg', ':Git ' }, - { 'gs', 'tab Git' }, - { 'gb', 'Git blame' } + { 'gS', 'tab Git', desc = ' [S]status with fugitive' }, + { 'gb', 'Git blame', desc = ' [b]lame' } } return M diff --git a/config/nvim/lua/fschauen/plugins/neogit.lua b/config/nvim/lua/fschauen/plugins/neogit.lua index 4b63301..7982d8c 100644 --- a/config/nvim/lua/fschauen/plugins/neogit.lua +++ b/config/nvim/lua/fschauen/plugins/neogit.lua @@ -5,7 +5,7 @@ M.dependencies = { } M.keys = { - { 'gn', 'Neogit' }, + { 'gs', 'Neogit', desc = ' [s]tatus with neogit' }, } M.config = function()