summaryrefslogtreecommitdiff
path: root/fnl/config/better-escape.fnl
blob: 2351187f48b3eed419b66a85fbdb13d9c0b97bd7 (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>"}))