From 01b69a78e54ace2a54b9816be8bc73776aa5fd02 Mon Sep 17 00:00:00 2001 From: Janis Date: Mon, 15 Jul 2024 02:41:31 +0200 Subject: [PATCH] ,, as keybind for finishing out of editors --- init.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.org b/init.org index cdebc9a..c9263a7 100644 --- a/init.org +++ b/init.org @@ -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 "il") 'org-insert-link) #+end_src +Unassociated key-bindings: +#+begin_src emacs-lisp +;; for exiting out of magit’s 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 )