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-keybinding nil ; work with evil-collection
|
||||||
evil-want-integration t
|
evil-want-integration t
|
||||||
evil-want-C-u-scroll nil
|
evil-want-C-u-scroll nil
|
||||||
evil-want-C-i-jump nil
|
evil-want-C-i-jump nil))
|
||||||
evil-escape-key-sequence "jk"
|
|
||||||
evil-escape-unordered-key-sequence t))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
The Escape key act like ~C-g~ and always go back to normal mode?
|
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:
|
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
|
(use-package key-chord
|
||||||
:config
|
:config
|
||||||
(setq key-chord-two-keys-delay 0.1)
|
(setq key-chord-two-keys-delay 0.1)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue