1
0
Fork 0

Add function to open the index to my personal wiki

This commit is contained in:
Tom Willemse 2019-04-16 22:36:52 -07:00
parent c8b5028450
commit a44965490d

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 20190414134522
;; Version: 20190416223342
;; Package-Requires: (org-plus-contrib org-bullets hydra)
;; This program is free software; you can redistribute it and/or modify
@ -82,6 +82,12 @@ ones that have a predecessor."
(oni-org-heading-has-predecessor-p))
(oni-org-next-heading-position))))
;;;###autoload
(defun oni-org-open-index ()
"Open the index of my org-based personal wiki."
(interactive)
(find-file "~/documents/gtd/index.org"))
;;;###autoload(autoload 'oni-hydra-org/body "oni-org")
(defhydra oni-hydra-org (:color blue)
"Org"
@ -145,6 +151,9 @@ ones that have a predecessor."
;;;###autoload
(global-set-key (kbd "C-c o") 'oni-hydra-org/body)
;;;###autoload
(global-set-key (kbd "C-<home>") #'oni-org-open-index)
;;;###autoload(with-eval-after-load 'org (require 'oni-org))
(provide 'oni-org)