Add ‘org-roam-insert’ to my Org hydra
This commit is contained in:
parent
ec512f18c9
commit
c2e9a919b6
1 changed files with 7 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; 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)
|
;; 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
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -126,12 +126,13 @@ installs it will always be ~."
|
||||||
(defhydra oni-hydra-org (:color teal :hint nil)
|
(defhydra oni-hydra-org (:color teal :hint nil)
|
||||||
"
|
"
|
||||||
^Tasks^ ^Buffer^ ^Capture^
|
^Tasks^ ^Buffer^ ^Capture^
|
||||||
^^^^^^---------------------------------------------------------------------
|
^^^^^^------------------------------------------------------------------------
|
||||||
_a_: Show Agenda _b_: Switch to org buffer _t_: Note
|
_a_: Show Agenda _b_: Switch to org buffer _t_: Note
|
||||||
_c_: Capture new heading _s_: Save all org buffers _A_: Appointment
|
_c_: Capture new heading _s_: Save all org buffers _A_: Appointment
|
||||||
_l_: Store link ^^ _j_: Journal entry
|
_l_: Store link ^^ _j_: Journal entry
|
||||||
^^ ^^ _f_: Add roam note
|
^^ ^^ _f_: Add roam note
|
||||||
^^ ^^ _i_: Insert other note
|
^^ ^^ _i_: Insert other note
|
||||||
|
^^ ^^ _I_: Insert and edit note
|
||||||
"
|
"
|
||||||
("l" org-store-link)
|
("l" org-store-link)
|
||||||
("a" org-agenda)
|
("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’")))
|
(error "Couldn’t load org-roam, you should install ‘oni-org-roam’")))
|
||||||
("i" (if (require 'oni-org-roam nil t)
|
("i" (if (require 'oni-org-roam nil t)
|
||||||
(call-interactively 'org-roam-insert-immediate)
|
(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’"))))
|
(error "Couldn’t load org-roam, you should install ‘oni-org-roam’"))))
|
||||||
|
|
||||||
(defun oni-org-in-dblock-p ()
|
(defun oni-org-in-dblock-p ()
|
||||||
|
|
Loading…
Reference in a new issue