aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2019-08-22 15:53:42 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2019-08-22 15:53:42 +0200
commit5f718fe5ee476e381d2cae204405023eb935c9f5 (patch)
tree78b9338bf0621dad8ed760341afc56cb58892971
parentcc624aee5ab40abccb6c29a1e22885abfd3ac52e (diff)
downloaddotfiles-5f718fe5ee476e381d2cae204405023eb935c9f5.tar.gz
dotfiles-5f718fe5ee476e381d2cae204405023eb935c9f5.zip
emacs: key bindings for some org-*-export functions
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--emacs/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 5dd7529..f17fccf 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -1534,6 +1534,14 @@ Also hide the "Footnotes: " title on footnotes:
</div>")
#+END_SRC
+Last but not least, some handy shortcuts:
+
+#+BEGIN_SRC elisp
+(with-eval-after-load "org"
+ (define-key org-mode-map (kbd "<f1>") 'org-latex-export-to-pdf)
+ (define-key org-mode-map (kbd "<f2>") 'org-odt-export-to-odt))
+#+END_SRC
+
** Agenda
Custom commands for =org-agenda=.