From a74e8817fa1cae13b0d8daaa98246b500598ee67 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 31 Jan 2021 21:42:29 -0800 Subject: Add ‘org-roam’ commands to my org hydra --- oni-org/oni-org.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 5bf84e6..1e8f0f8 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0120.163357 +;; Version: 2021.0131.214204 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal org-roam) ;; This program is free software; you can redistribute it and/or modify @@ -125,11 +125,13 @@ 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 " ("l" org-store-link) ("a" org-agenda) @@ -138,7 +140,9 @@ _l_: Store link ^^ _j_: Journal entry ("s" org-save-all-org-buffers) ("t" (org-capture nil "t")) ("A" (org-capture nil "a")) - ("j" (org-capture nil "j"))) + ("j" (org-capture nil "j")) + ("f" org-roam-find-file) + ("i" org-roam-insert-immediate)) (defun oni-org-in-dblock-p () "Non-nil when point belongs to a dynamic block." -- cgit v1.2.3-54-g00ecf