From 54bc640e1c4df9b9481e7cbec7b684a197b07db1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 4 Apr 2022 22:33:32 +0200 Subject: feat(better-escape): add fnl config --- fnl/config/better-escape.fnl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fnl/config/better-escape.fnl (limited to 'fnl/config') diff --git a/fnl/config/better-escape.fnl b/fnl/config/better-escape.fnl new file mode 100644 index 0000000..83b4d07 --- /dev/null +++ b/fnl/config/better-escape.fnl @@ -0,0 +1,12 @@ +;; Better escape without nasty delay +(module config.better-escape + {autoload {util util}}) + + +(let [(ok? better-escape) util.load-plugin :better-escape] + (when ok? + (better-escape.setup { + :mapping ["jk" "jj"] + :timeout vim.o.timeoutlen + :clear_empty_lines false + :keys ""}}))) -- cgit v1.2.3-70-g09d2