summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-17 00:14:19 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-17 00:14:19 +0200
commit29471e411aeed0186bfa72b0c299794f593f20e5 (patch)
tree70bb2d9614c8cc874cb622b9951c5c757292d76e /fnl
parent7986434378f7dddc8fd8bbeb542db6b8c27faf3a (diff)
Load venn by key
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/venn.fnl10
1 files changed, 5 insertions, 5 deletions
diff --git a/fnl/plugins/venn.fnl b/fnl/plugins/venn.fnl
index 037fcbc..d1b42be 100644
--- a/fnl/plugins/venn.fnl
+++ b/fnl/plugins/venn.fnl
@@ -25,9 +25,9 @@
(enable win)
(disable win)))))
-(fn config []
- (vim.keymap.set :n :<leader>v (fn []
- (toggle))
- {:noremap true :desc "Toggle Venn Diagram"}))
+(local keys [{1 :<leader>v
+ 2 (fn []
+ (toggle))
+ :desc "Toggle Venn Diagram"}])
-{1 :jbyuki/venn.nvim : config}
+{1 :jbyuki/venn.nvim : keys}