summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-02-18 00:11:56 +0000
committerjao <jao@gnu.org>2024-02-18 00:11:56 +0000
commit40c7fa06457ad2bf1e3d7593507241c891960466 (patch)
tree87f1ca522f1f5f87d5765c15f59e05d8d2db360a
parente208e35cd8846112c41e0cc54c59a5db9e5d383f (diff)
downloadelibs-40c7fa06457ad2bf1e3d7593507241c891960466.tar.gz
elibs-40c7fa06457ad2bf1e3d7593507241c891960466.tar.bz2
a few keybindings for org mode
-rw-r--r--custom/jao-custom-org.el6
-rw-r--r--init.el8
2 files changed, 9 insertions, 5 deletions
diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el
index 007c290..21a85ac 100644
--- a/custom/jao-custom-org.el
+++ b/custom/jao-custom-org.el
@@ -201,9 +201,11 @@
(jao-transient-major-mode org
["Notes"
- ("o" "find and open note" jao-org-notes-open)
("c" "open or create note" jao-org-notes-create)
- ("\\" "grep notes" jao-org-notes-grep)
+ ("/" "find and open note" jao-org-notes-open)
+ ("\\" "find and open note by tags" jao-org-notes-consult-tags)]
+ ["Extended search"
+ ("g" "ripgrep notes" jao-org-notes-consult-ripgrep)
("r" "recoll notes" jao-org-notes-recoll)]
["Current note" :if jao-org-notes-note-p
("i" "insert link" jao-org-notes-insert-link)
diff --git a/init.el b/init.el
index 0dcfd24..c25489e 100644
--- a/init.el
+++ b/init.el
@@ -3217,9 +3217,11 @@
("n" "create new note" jao-org-notes-create)
("/" "open note" jao-org-notes-open)
("\\" "open note by tags" jao-org-notes-consult-tags)
- ("d" "go to doc" jao-select-pdf :if display-graphic-p)
- ("d" "search docs" jao-recoll-consult-docs :if-not display-graphic-p)
- ("D" "open doc" jao-open-doc)]
+ ("g" "ripgrep notes" jao-org-notes-consult-ripgrep)]
+ ["Documents"
+ ("dd" "go to doc" jao-select-pdf :if display-graphic-p)
+ ("do" "open doc" jao-open-doc)
+ ("dr" "search docs with recoll" jao-recoll-consult-docs)]
["Monitors"
("p" "htop" jao-term-htop)
;; ("v" "vpn status" jao-mullvad-status)