diff options
author | Abouzar Parvan <[email protected]> | 2021-08-30 17:20:02 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-30 17:20:02 +0430 |
commit | 758ea6d07b2060a2802efc25da4b6937150edf61 (patch) | |
tree | 2653df91af9a9e19ab4436768e4aff48625d70bb /lua/core/which-key.lua | |
parent | bc5b315e534ac4c15af50edc5890fe328b8825d3 (diff) |
use `<leader>gd` to see git diff with previous head (#1426)
Diffstat (limited to 'lua/core/which-key.lua')
-rw-r--r-- | lua/core/which-key.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/core/which-key.lua b/lua/core/which-key.lua index 71c0b695..8f2f2a5a 100644 --- a/lua/core/which-key.lua +++ b/lua/core/which-key.lua @@ -130,6 +130,10 @@ M.config = function() "<cmd>Telescope git_bcommits<cr>", "Checkout commit(for current file)", }, + d = { + "<cmd>Gitsigns diffthis HEAD<cr>", + "Git Diff", + }, }, l = { |