aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-org.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/oni-org.el b/oni-org.el
index dd2bc9a..2290c09 100644
--- a/oni-org.el
+++ b/oni-org.el
@@ -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)