summaryrefslogtreecommitdiff
path: root/fnl/config/which-key.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-10-10 10:13:17 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-10-10 10:13:17 +0200
commitd01b8e0db9bb355c3dbbd22dc47beadbea660690 (patch)
tree1d6c32102422d79632a6050c45531b01188775c6 /fnl/config/which-key.fnl
parentf39938a826551d30e84b8a62a2c6e14f003a25ca (diff)
parent66a8bf1ac557b579fac4099affcdca2ee0764e78 (diff)
Merge branch 'master' of github.com:aktersnurra/nvim
Diffstat (limited to 'fnl/config/which-key.fnl')
-rw-r--r--fnl/config/which-key.fnl3
1 files changed, 3 insertions, 0 deletions
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index b386ca0..1d196fa 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -50,6 +50,7 @@
"Harpoon Prev"]
:t ["<cmd>Telescope harpoon marks<cr>" "Search Files"]
:v ["<cmd>lua vim.lsp.buf.rename()<cr>" :Rename]
+ :p ["<cmd>SaveSession<cr>" "Save Session"]
:r ["<cmd>lua require('harpoon.ui').toggle_quick_menu()<cr>"
"Harpoon UI"]})
@@ -77,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]