summaryrefslogtreecommitdiff
path: root/fnl/config/better-escape.fnl
blob: 5c993b7d54225db3a742f2b486e6b4eb8c5fb9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
;; Better escape without nasty delay
(module config.better-escape
  {autoload {util 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>"}}))