From 8b27601657fff81339458ed15adc808a0634143a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 17 Jul 2022 14:41:50 +0200 Subject: Move lir keymap to config --- fnl/config/lir.fnl | 4 +++- fnl/settings/keymaps.fnl | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl') diff --git a/fnl/config/lir.fnl b/fnl/config/lir.fnl index 8713b08..686f847 100644 --- a/fnl/config/lir.fnl +++ b/fnl/config/lir.fnl @@ -39,4 +39,6 @@ (let [actions (require :lir.actions) mark-actions (require :lir.mark.actions) clipboard-actions (require :lir.clipboard.actions)] - (lir.setup (opts actions mark-actions clipboard-actions)))) + (lir.setup (opts actions mark-actions clipboard-actions)) + (nvim.set_keymap :n "-" ":lua require'lir.float'.toggle()" + {:noremap true :silent true}))) diff --git a/fnl/settings/keymaps.fnl b/fnl/settings/keymaps.fnl index 46800ef..d44113f 100644 --- a/fnl/settings/keymaps.fnl +++ b/fnl/settings/keymaps.fnl @@ -55,5 +55,3 @@ (map :n : :split opts) (map :n : :split opts) (map :n : :vsplit opts) - -(map :n :- ":lua require'lir.float'.toggle()" opts) -- cgit v1.2.3-70-g09d2