How do I add an escape key sequence to SpaceVim.d/init.toml

329 views Asked by At

I'm a Spacemacs user and I am trying SpaceVim for the first time.

There are a couple of settings I would like to port over. I use ",." to escape, with a delay of half a second, as shown in my Spacemacs config:

  (setq-default evil-escape-key-sequence ",."
                evil-escape-unordered-key-sequence "true"
                evil-escape-delay 0.5)

I also switch to normal state after 15 seconds of idle time.

  ;; When in insert mode and idle, return to evil-normal-state
  (run-with-idle-timer 15 t 'evil-normal-state)

How do I set the same settings in the SpaceVim.d/init.toml file?

1

There are 1 answers

3
Eric Wong On

currently no, but I think you can use bootstrap function. in the function you can use vim script to create this key binding

inoremap ,. <esc>