diff options
Diffstat (limited to 'fnl/config/better-escape.fnl')
-rw-r--r-- | fnl/config/better-escape.fnl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/fnl/config/better-escape.fnl b/fnl/config/better-escape.fnl index ffe3a6e..769fb32 100644 --- a/fnl/config/better-escape.fnl +++ b/fnl/config/better-escape.fnl @@ -1,8 +1,9 @@ -;; Better escape without nasty delay +;; Better escape without nasty delay. (module config.better-escape {autoload {: util}}) -(let [better-escape (util.load-plugin :better_escape)] - (better-escape.setup {:mapping [:jk :jj] - :timeout vim.o.timeoutlen - :clear_empty_lines false - :keys :<Esc>})) +(def- opts {:mapping [:kk :jj] + :timeout vim.o.timeoutlen + :clear_empty_lines false + :keys :<Esc>}) + +(util.use-config :better_escape opts) |