[Emacs] Add shortcut for publishing my blog

This commit is contained in:
Lucien Cartier-Tilet 2020-12-06 11:30:44 +01:00
parent ff12dbe2c9
commit dd60197fec
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -2745,6 +2745,11 @@ Now, onto some shortcuts related to org-mode. Lets 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