summaryrefslogtreecommitdiff
path: root/fnl/config/better-escape.fnl
blob: 3e68ddd41fd3a0e2dcf9ed1ef12b03c1424f9d6c (plain)
1
2
3
4
5
6
7
8
9
;; 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>})

(util.setup :better_escape opts)