diff options
Diffstat (limited to 'fnl/config/lir.fnl')
-rw-r--r-- | fnl/config/lir.fnl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fnl/config/lir.fnl b/fnl/config/lir.fnl index 22b15cf..d74b248 100644 --- a/fnl/config/lir.fnl +++ b/fnl/config/lir.fnl @@ -30,18 +30,18 @@ {:border :rounded : width : height}))} :hide_cursor false :on_init (fn [] - (nvim.buf_set_keymap 0 :x :J - ":<C-u>lua require(\"lir.mark.actions\").toggle_mark(\"v\")<CR>" - {:noremap true :silent true}))}) + (vim.api.nvim_buf_set_keymap 0 :x :J + ":<C-u>lua require(\"lir.mark.actions\").toggle_mark(\"v\")<CR>" + {:noremap true :silent true}))}) (fn setup [] - (let [lir (require :lir)] - (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)) - (nvim.set_keymap :n "-" ":lua require'lir.float'.toggle()<cr>" - {:noremap true :silent true})))) + (let [actions (require :lir.actions) + clipboard-actions (require :lir.clipboard.actions) + mark-actions (require :lir.mark.actions) + lir (require :lir)] + (lir.setup (opts actions mark-actions clipboard-actions)) + (vim.keymap.set :n "-" ":lua require'lir.float'.toggle()<cr>" + {:noremap true :silent true}))) {1 :tamago324/lir.nvim :keys "-" |