Skip to content

CTRL/CMD+SHIFT+F opens sidebar and focuses on "search in folder" #1311

Closed

Description

@Illyism

Describe your feature request

  • You have CTRL/CMD+F now to start search in the current file
  • We could add a keyboard shortcut to search through all files
  • When a word or sentence is selected it should pre-fill the search query with the selected text

Activity

  1. Jocs commented on Sep 2, 2019

    @Jocs
    Member

    Another point to note is that if there is no opened folder, this shortcut needs to be disabled and the menu item will be grayed out(disabled).

  2. added
    🦄 feature request
    🐳 help wanted
    on Sep 2, 2019
  3. Illyism commented on Sep 2, 2019

    @Illyism
    ContributorAuthor

    Also, the search keyword is reset when the search container is mounted. I think this should be remembered in vuex / storage.

    And the input should get focus and the value should be selected.

  4. tongphe commented on Sep 5, 2019

    @tongphe

    I also recommend using ESC to unfocus search box and focus back on file sidebar/tab

  5. ianhinder commented on Feb 16, 2020

    @ianhinder

    Thanks for implementing. This would be much more useful if the focus was also transferred to the search box. As far as I can tell, if I want to search, I hit Cmd-Shift-F, and then have to click in the search box in order to type. I'd like to do all this from the keyboard. Should I open a new issue?

  6. Jocs commented on Feb 23, 2020

    @Jocs
    Member

    Thanks for implementing. This would be much more useful if the focus was also transferred to the search box. As far as I can tell, if I want to search, I hit Cmd-Shift-F, and then have to click in the search box in order to type. I'd like to do all this from the keyboard. Should I open a new issue?

    Please open a new issue about your description, it's a new feature, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🦄 feature request🐳 help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions