,, as keybind for finishing out of editors

This commit is contained in:
Janis 2024-07-15 02:41:31 +02:00
parent 441bbee8fb
commit 01b69a78e5

View file

@ -497,6 +497,12 @@ With =TAB= I can cycle headings in org, and with =,,= I can exit the special sou
(evil-define-key 'normal 'org-mode-map (kbd "<SPC>il") 'org-insert-link)
#+end_src
Unassociated key-bindings:
#+begin_src emacs-lisp
;; for exiting out of magits commit editor with ,, instead of C-c C-c
(evil-define-key 'normal global (kbd ",,") 'with-editor-finish)
#+end_src
Close =:config=.
#+begin_src emacs-lisp
)