[Evil] Go back to normal mode from insert mode by typing jk

This commit is contained in:
Marcel Kapfer 2022-06-23 17:20:55 +02:00
parent 7fe2e79f7f
commit c962f26abe
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -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