aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org/oni-org.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-04-18 16:13:28 -0700
committerGravatar Tom Willemse2021-04-18 16:13:28 -0700
commitc2e9a919b69d4312b9f7efc12d9c98da290cad5a (patch)
tree58d56d78a1e50330ee665b402b52ddb572e90344 /oni-org/oni-org.el
parentec512f18c909c2561608f10f48b63847bd7023a6 (diff)
downloademacs-config-c2e9a919b69d4312b9f7efc12d9c98da290cad5a.tar.gz
emacs-config-c2e9a919b69d4312b9f7efc12d9c98da290cad5a.zip
Add ‘org-roam-insert’ to my Org hydra
Diffstat (limited to 'oni-org/oni-org.el')
-rw-r--r--oni-org/oni-org.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index 5a3f9a3..3aa3ed5 100644
--- a/oni-org/oni-org.el
+++ b/oni-org/oni-org.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0407.213253
+;; Version: 2021.0418.161240
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal)
;; This program is free software; you can redistribute it and/or modify
@@ -125,13 +125,14 @@ installs it will always be ~."
;;;###autoload(autoload 'oni-hydra-org/body "oni-org")
(defhydra oni-hydra-org (:color teal :hint nil)
"
- ^Tasks^ ^Buffer^ ^Capture^
-^^^^^^---------------------------------------------------------------------
+ ^Tasks^ ^Buffer^ ^Capture^
+^^^^^^------------------------------------------------------------------------
_a_: Show Agenda _b_: Switch to org buffer _t_: Note
_c_: Capture new heading _s_: Save all org buffers _A_: Appointment
_l_: Store link ^^ _j_: Journal entry
^^ ^^ _f_: Add roam note
^^ ^^ _i_: Insert other note
+^^ ^^ _I_: Insert and edit note
"
("l" org-store-link)
("a" org-agenda)
@@ -146,6 +147,9 @@ _l_: Store link ^^ _j_: Journal entry
(error "Couldn’t load org-roam, you should install ‘oni-org-roam’")))
("i" (if (require 'oni-org-roam nil t)
(call-interactively 'org-roam-insert-immediate)
+ (error "Couldn’t load org-roam, you should install ‘oni-org-roam’")))
+ ("I" (if (require 'oni-org-roam nil t)
+ (call-interactively 'org-roam-insert)
(error "Couldn’t load org-roam, you should install ‘oni-org-roam’"))))
(defun oni-org-in-dblock-p ()