summaryrefslogtreecommitdiffhomepage
path: root/org.org
diff options
context:
space:
mode:
Diffstat (limited to 'org.org')
-rw-r--r--org.org17
1 files changed, 8 insertions, 9 deletions
diff --git a/org.org b/org.org
index 09ab951..b4fe511 100644
--- a/org.org
+++ b/org.org
@@ -200,15 +200,14 @@
(use-package jao-org-notes
:commands (jao-org-notes-setup)
:config
- (major-mode-hydra-define+ org-mode ()
- ("Notes"
- (("i" jao-org-notes-insert-link "insert link")
- ("t" jao-org-notes-insert-tags "insert tags")
- ("o" jao-org-notes-open "find and open note")
- ("c" jao-org-notes-open-or-create "open or create note")
- ("v" jao-org-notes-backlinks "show backlinks"))))
- :bind (("C-c n" . jao-org-notes-open-or-create)
- ("C-c N" . jao-org-notes-open)))
+ (jao-transient-major-mode+ org
+ ["Notes"
+ ("i" "insert link" jao-org-notes-insert-link)
+ ("t" "insert tags" jao-org-notes-insert-tags)
+ ("o" "find and open note" jao-org-notes-open)
+ ("c" "open or create note" jao-org-notes-open-or-create)
+ ("v" "show backlinks" jao-org-notes-backlinks)]))
+
(jao-org-notes-setup "n")
#+end_src
* Links