diff options
author | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-06-19 16:32:34 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylor@classicalconversations.com> | 2023-06-19 16:32:34 -0400 |
commit | 78e99455cc3ec165982590f8b8c22284ec67a75f (patch) | |
tree | 9032de91059b39eec7f5eb097d8f3f75547e832e | |
parent | aa0fe394198128fc25c2c49cb38c9e7c09a545cb (diff) |
Add git diff command
-rw-r--r-- | after/plugin/which-key.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/after/plugin/which-key.lua b/after/plugin/which-key.lua index a2bfb4f..d1af00c 100644 --- a/after/plugin/which-key.lua +++ b/after/plugin/which-key.lua @@ -70,6 +70,8 @@ function whichkey_setup() c = {"<cmd>Git commit<CR>", "Commit"}, u = {"<cmd>Git reset --soft HEAD~<CR>", "Soft undo last commit"}, }, + -- NOTE: This shows the diff of all files, but I might change it to just the file you're on + d = { "<cmd>Git diff<CR>", "Show git diff"}, p = { name = "Push", p = {"<cmd>Git push", "Push"}, |