summaryrefslogtreecommitdiff
path: root/fnl/config/which-key.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-05 22:08:23 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-05 22:08:23 +0200
commit66a8bf1ac557b579fac4099affcdca2ee0764e78 (patch)
tree1d6c32102422d79632a6050c45531b01188775c6 /fnl/config/which-key.fnl
parentb759110c04803ac9fdd734f3a9c0e6bca82de908 (diff)
Add diffview
Diffstat (limited to 'fnl/config/which-key.fnl')
-rw-r--r--fnl/config/which-key.fnl2
1 files changed, 2 insertions, 0 deletions
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 0c8ee7e..1d196fa 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -78,6 +78,8 @@
:C ["<cmd>Telescope commands<cr>" :Commands]})
(def- git {:name :Git
+ :d ["<cmd>DiffviewOpen<cr>" "Diffview"]
+ :D ["<cmd>DiffviewFileHistory<cr>" "DiffviewFileHistory"]
:j ["<cmd>lua require 'gitsigns'.next_hunk()<cr>" "Next Hunk"]
:k ["<cmd>lua require 'gitsigns'.prev_hunk()<cr>" "Prev Hunk"]
:l ["<cmd>lua require 'gitsigns'.blame_line()<cr>" :Blame]