Key chording in Evil to make getting to normal mode easier
This commit is contained in:
parent
2a5848677a
commit
aed214e4eb
1 changed files with 2 additions and 4 deletions
|
|
@ -54,9 +54,7 @@ I split the configuration of Evil mode into sections. First, global settings:
|
|||
evil-want-keybinding nil ; work with evil-collection
|
||||
evil-want-integration t
|
||||
evil-want-C-u-scroll nil
|
||||
evil-want-C-i-jump nil
|
||||
evil-escape-key-sequence "jk"
|
||||
evil-escape-unordered-key-sequence t))
|
||||
evil-want-C-i-jump nil))
|
||||
#+end_src
|
||||
|
||||
The Escape key act like ~C-g~ and always go back to normal mode?
|
||||
|
|
@ -199,7 +197,7 @@ I find that myself not noticing I’m in /insert/ mode, and start typing =j= rep
|
|||
|
||||
To remedy this, I’m using the [[https://www.emacswiki.org/emacs/KeyChord][KeyChord]] code:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle no
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package key-chord
|
||||
:config
|
||||
(setq key-chord-two-keys-delay 0.1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue