Add function/keybinding to open org files
This commit is contained in:
parent
0531c9da3e
commit
7f288bed92
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user