aboutsummaryrefslogtreecommitdiff
path: root/fnl/plugins/which_key.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/which_key.fnl')
-rw-r--r--fnl/plugins/which_key.fnl14
1 files changed, 14 insertions, 0 deletions
diff --git a/fnl/plugins/which_key.fnl b/fnl/plugins/which_key.fnl
new file mode 100644
index 0000000..959e0a6
--- /dev/null
+++ b/fnl/plugins/which_key.fnl
@@ -0,0 +1,14 @@
+(local whichkey (require :which-key))
+(whichkey.setup)
+
+(local mappings {
+ 1 {1 " f" 2 "<cmd>Neotree toggle<CR>" :desc "fs"}
+ 2 {1 " w" 2 "<cmd>WinShift<CR>" :desc "win shift"}
+ 3 {1 " t" 2 "<cmd>ToggleTerm direction=horizontal<CR>" :desc "hterm"}
+
+ :mode [:n :v]
+ :silent true
+ :noremap true
+ :nowait true})
+
+(whichkey.add mappings)