switch search in subtree to ctrl+shift+s to stay consistent with ctrl+s

This commit is contained in:
zadam 2019-11-19 23:04:43 +01:00
parent 1f8d382b1f
commit 07043fb177
2 changed files with 2 additions and 2 deletions

View File

@ -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" },

View File

@ -170,7 +170,7 @@ const keyBindings = {
return false;
},
"ctrl+shift+f": node => {
"ctrl+shift+s": node => {
searchNoteService.searchInSubtree(node.data.noteId);
return false;