From f5477e58fcb7617f69c5d0d31851910451b717e9 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Fri, 1 Jan 2021 00:00:31 +0000 Subject: [PATCH] Add a keybinding for adding a new heading in org-mode I went with , it seemed nice and intuitive. --- config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.org b/config.org index f5727c9..63aed18 100644 --- a/config.org +++ b/config.org @@ -70,6 +70,16 @@ needs to be set up to install them if they aren't already. (require 'org-tempo)) #+end_src + A keybinding to add a new heading is super useful + + #+begin_src emacs-lisp + (add-hook 'org-mode-hook + (lambda () + (define-key org-mode-map + (kbd "") + 'org-insert-heading-after-current))) + #+end_src + ** Source Blocks Pressing tab inside a source block should indent appropriately for its language.