From 11d50dc8934a5b9e9be73d0445789e005843dfc2 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sat, 18 Apr 2026 00:52:28 +0200 Subject: more based changes --- fnl/config.fnl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fnl/config.fnl') diff --git a/fnl/config.fnl b/fnl/config.fnl index 657c954..4e0eb0a 100644 --- a/fnl/config.fnl +++ b/fnl/config.fnl @@ -1,4 +1,5 @@ ;; Load plugins with lazy. +(import-macros {: keymap} :macros) (λ load-plugin [tbl name] (table.insert tbl (require (.. :plugins. name)))) @@ -51,7 +52,7 @@ (each [fname type (vim.fs.dir (.. (vim.fn.stdpath :config) :/fnl/plugins))] (when (= type :file) (load-plugin plugins (fname:match "^(.*)%.fnl$")))) - (vim.keymap.set :n :y "Lazy home" {:desc :Home}) + (keymap :n :y "Lazy home" {:desc :Home}) (lazy.setup plugins opts))) (init) -- cgit v1.2.3-70-g09d2