summaryrefslogtreecommitdiff
path: root/fnl/config/better-escape.fnl
blob: 83b4d077411161c9e86d40c28460341a84603094 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 "<Esc>"}})))