From ffebd694a1a9ae21eea48fbec6c97c53625de9bf Mon Sep 17 00:00:00 2001 From: Dmitry O Date: Sun, 31 Mar 2024 22:11:37 +0200 Subject: [PATCH] mapped empty commit action to default commit --- lua/custom/plugins/init.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index ac868802..5696ca69 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -167,9 +167,7 @@ return { vim.keymap.set('n', 'gcr', function() do_custom_commit 'refactor' end, { desc = '[G]it [C]ommit [R]efactor' }) - vim.keymap.set('n', 'gce', function() - do_custom_commit '' - end, { desc = '[G]it [C]ommit [E]mpty' }) + vim.keymap.set('n', 'gce', 'Git commit -a', { desc = '[G]it [C]ommit [E]mpty' }) vim.keymap.set('n', 'gp', 'Git push', { desc = '[G]it [P]ush' }) vim.keymap.set('n', 'gf', 'Git pull', { desc = '[G]it [F]pull' })