Re-title the `Search current file` command for navigation searches

Use case or problem

In navigation containers, the “search” command’s title is Search current file (Ctrl + F) even though selecting it or pressing the hotkeys places the cursor in the navigation input (to search within the navigation tree, not within a file).

The mismatched command title could confuse users when

  • they think a note has focus, don’t realize the focus is elsewhere, and try to search in the note.
  • they are looking in the command palette for a way to search a navigation tree and can’t find one.

I encountered it offline with someone who didn’t realize the file explorer had a search box nor that they were in it, and they couldn’t figure out why the shortcut and palette selection “weren’t working” to search the note. Solving it prompted the person with us to say they never realized they could use Ctrl + F in navigation containers and thought they had to use a mouse to get to the input boxes (since we can’t up-arrow into a search input after down-arrowing out of it).

Proposed solution

When the “search” command or shortcut does something other than search a current note, change the command’s title from Search current file to something like Search current navigation or to specific titles for Search Files, Search Bookmarks, Search Properties, Search Tags, etc.

I didn’t realize those could be searched in!

Related (for when searching in a file): Rename "Search" in "Search (& replace) in current file" commands to "Find".