summaryrefslogtreecommitdiff
path: root/fnl/config/better-escape.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/better-escape.fnl')
-rw-r--r--fnl/config/better-escape.fnl11
1 files changed, 5 insertions, 6 deletions
diff --git a/fnl/config/better-escape.fnl b/fnl/config/better-escape.fnl
index 659d22f..f262784 100644
--- a/fnl/config/better-escape.fnl
+++ b/fnl/config/better-escape.fnl
@@ -1,9 +1,8 @@
;; Better escape without nasty delay.
-(module config.better-escape {autoload {util config.util}})
-(def- opts {:mapping [:kk :jj]
- :timeout vim.o.timeoutlen
- :clear_empty_lines false
- :keys :<Esc>})
+(local opts {:mapping [:kk :jj]
+ :timeout vim.o.timeoutlen
+ :clear_empty_lines false
+ :keys :<Esc>})
-(util.setup :better_escape opts)
+{1 :max397574/better-escape.nvim :event :BufReadPost :config opts}