From 2d230216dbae8fc6c06afd9d16e5a05e9718e421 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Tue, 25 Jun 2024 13:45:24 +0200 Subject: [PATCH] pinwheel: Add keybinding to insert blocks in `org-mode` --- hosts/pinwheel/modules/emacs/config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/pinwheel/modules/emacs/config.org b/hosts/pinwheel/modules/emacs/config.org index 4476654..f96b995 100644 --- a/hosts/pinwheel/modules/emacs/config.org +++ b/hosts/pinwheel/modules/emacs/config.org @@ -460,7 +460,8 @@ Setup prefix for keybindings. (setq org-cycle-separator-lines 1) (setq org-startup-folded 'content) (setq org-startup-indented t) - (setq org-agenda-files '("~/sync/org"))) + (setq org-agenda-files '("~/sync/org")) + (define-key org-mode-map (kbd "C-c C-b") #'org-insert-structure-template)) #+END_SRC * Magit #+BEGIN_SRC emacs-lisp