summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 14:41:50 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 14:41:50 +0200
commit8b27601657fff81339458ed15adc808a0634143a (patch)
tree178ce0af4f39e802bd8f858f03a979d05e1bc90c
parent04253e83babe9d050f40ac240ebf53ff0dbc91c7 (diff)
Move lir keymap to config
-rw-r--r--fnl/config/lir.fnl4
-rw-r--r--fnl/settings/keymaps.fnl2
2 files changed, 3 insertions, 3 deletions
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()<cr>"
+ {: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 :<m-s> :<cmd>split<CR> opts)
(map :n :<C-s> :<cmd>split<CR> opts)
(map :n :<m-v> :<cmd>vsplit<CR> opts)
-
-(map :n :- ":lua require'lir.float'.toggle()<cr>" opts)