Add function/keybinding to open org files

This commit is contained in:
Jeremy Dormitzer 2019-02-08 20:12:27 -05:00
parent 0531c9da3e
commit 7f288bed92

View File

@ -680,6 +680,18 @@ Enable using the leader key in the agenda view:
(general-def org-agenda-mode-map "SPC" leader-map)
#+END_SRC
And a global keybinding to open an org file:
#+BEGIN_SRC emacs-lisp
(defun find-org-file (file)
(interactive
(list (ido-completing-read+
"Find org file: "
(directory-files (agenda-files) t))))
(find-file file))
(leader-def-key "fo" #'find-org-file)
#+END_SRC
** Exporting
*** HTML
Export to HTML: