summaryrefslogtreecommitdiffhomepage
path: root/org.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-10-26 07:11:58 +0100
committerjao <jao@gnu.org>2021-10-26 21:56:37 +0100
commit34288685116e90826aaa5639bafc4b5ef58b2575 (patch)
tree2caa66c91d1a2d840ae642b500921e9c57815ae9 /org.org
parenta5d897e9a31a62555ac96a571818edc201123a97 (diff)
downloadelibs-34288685116e90826aaa5639bafc4b5ef58b2575.tar.gz
elibs-34288685116e90826aaa5639bafc4b5ef58b2575.tar.bz2
dehydration: transient is all we need
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