From dd60197fecfb6f02ada13783d17a1d47555f668e Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 6 Dec 2020 11:30:44 +0100 Subject: [PATCH] [Emacs] Add shortcut for publishing my blog --- org/config/emacs.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/org/config/emacs.org b/org/config/emacs.org index 3b65c4e..8dd53e9 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -2745,6 +2745,11 @@ Now, onto some shortcuts related to org-mode. Let’s first declare the category (spacemacs/declare-prefix-for-mode 'org-mode "moT" "tables") #+END_SRC +#+BEGIN_SRC emacs-lisp + (spacemacs/set-leader-keys-for-major-mode 'org-mode "ob" 'phundrak/blog-publish) + (spacemacs/declare-prefix-for-mode 'org-mode "ob" "blog") +#+END_SRC + Now, I have a couple of shortcuts I use regularly: #+BEGIN_SRC emacs-lisp (spacemacs/set-leader-keys-for-major-mode 'org-mode