Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
switch search in subtree to ctrl+shift+s to stay consistent with ctrl+s
zadam07043fb177af
diff --git a/src/public/javascripts/services/tree_context_menu.js b/src/public/javascripts/services/tree_context_menu.jsindex 50cf6b3d1a..43e8c62929 100644--- a/src/public/javascripts/services/tree_context_menu.js+++ b/src/public/javascripts/services/tree_context_menu.js@@ -56,7 +56,7 @@ class TreeContextMenu {{ title: "Delete <kbd>Delete</kbd>", cmd: "delete", uiIcon: "trash",enabled: isNotRoot && !isHoisted && parentNotSearch },{ title: "----" },- { title: "Search in subtree <kbd>Ctrl+Shift+F</kbd>", cmd: "searchInSubtree", uiIcon: "search",+ { title: "Search in subtree <kbd>Ctrl+Shift+S</kbd>", cmd: "searchInSubtree", uiIcon: "search",enabled: notSearch && noSelectedNotes },isHoisted ? null : { title: "Hoist note <kbd>Ctrl-H</kbd>", cmd: "hoist", uiIcon: "empty", enabled: noSelectedNotes && notSearch },!isHoisted || !isNotRoot ? null : { title: "Unhoist note <kbd>Ctrl-H</kbd>", cmd: "unhoist", uiIcon: "arrow-up" },diff --git a/src/public/javascripts/services/tree_keybindings.js b/src/public/javascripts/services/tree_keybindings.jsindex e93279f2e6..1ce0b43c9d 100644--- a/src/public/javascripts/services/tree_keybindings.js+++ b/src/public/javascripts/services/tree_keybindings.js@@ -170,7 +170,7 @@ const keyBindings = {return false;},- "ctrl+shift+f": node => {+ "ctrl+shift+s": node => {searchNoteService.searchInSubtree(node.data.noteId);return false;