[Evil] Go back to normal mode from insert mode by typing jk
This commit is contained in:
parent
7fe2e79f7f
commit
c962f26abe
1 changed files with 9 additions and 0 deletions
|
@ -586,6 +586,15 @@ An even better integration may be achieved when additionall using the [[https://
|
||||||
:config (evil-collection-init))
|
:config (evil-collection-init))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Additional I like to press =jk= for exiting normal mode, using [[https://github.com/emacsorphanage/key-chord/][key-chord]] this is possible.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package key-chord
|
||||||
|
:config
|
||||||
|
(key-chord-define evil-insert-state-map "jk" 'evil-normal-state)
|
||||||
|
(key-chord-mode 1))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* General packages
|
* General packages
|
||||||
** diminish-mode
|
** diminish-mode
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue