summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylor@classicalconversations.com>2023-05-18 10:59:47 -0400
committerJackson Taylor <jtaylor@classicalconversations.com>2023-05-18 10:59:47 -0400
commit7e5efb7085d52491a18a4d268a542665eb60f129 (patch)
tree078cc8d5d72707445e73521649f576d0cbbe3748
parent13b03140c64431efc317a6bff40d19fcd9c10cc8 (diff)
Keymap: remap commit command
gcc makes more sense to me to make a new commit, where gca is amend.
-rw-r--r--after/plugin/which-key.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/plugin/which-key.lua b/after/plugin/which-key.lua
index 92053cb..2a1fde6 100644
--- a/after/plugin/which-key.lua
+++ b/after/plugin/which-key.lua
@@ -66,7 +66,7 @@ function whichkey_setup()
c = {
name = "Commit",
a = {"<cmd>Git commit --amend<CR>", "Amend commit"},
- a = {"<cmd>Git commit<CR>", "Commit"},
+ c = {"<cmd>Git commit<CR>", "Commit"},
u = {"<cmd>Git reset --soft HEAD~<CR>", "Soft undo last commit"},
},
p = {