From 29471e411aeed0186bfa72b0c299794f593f20e5 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 17 May 2024 00:14:19 +0200 Subject: Load venn by key --- fnl/plugins/venn.fnl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fnl/plugins') 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 :v (fn [] - (toggle)) - {:noremap true :desc "Toggle Venn Diagram"})) +(local keys [{1 :v + 2 (fn [] + (toggle)) + :desc "Toggle Venn Diagram"}]) -{1 :jbyuki/venn.nvim : config} +{1 :jbyuki/venn.nvim : keys} -- cgit v1.2.3-70-g09d2