From 40c7fa06457ad2bf1e3d7593507241c891960466 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 18 Feb 2024 00:11:56 +0000 Subject: a few keybindings for org mode --- custom/jao-custom-org.el | 6 ++++-- init.el | 8 +++++--- 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) -- cgit v1.2.3