Enable enter on search
Closed this issue ยท 4 comments
๐ Have you checked Spicetify.app page for your issue?
- I have checked the FAQ
๐ Is there already an issue for your problem?
- I have checked older issues, open and closed
โน Environment / Computer Info
- Spotify version: 1.2.45.454.gc16ec9f6
- Spicetify version: v2.38.3
๐ Description
I use the keyboardshortcut extension, and I'm trying to use the 'F'-key aka. keyboard-driven navigation. The issue happens when I navigate to the search bar and then type in e.g. an artist's name.
Here I would then like to be able to press 'F' and jump to a given result from the search, but this is not possible as I'm still in the search bar. I then try to press Esc to get out of the search bar, but this deletes the search-keywords and the search results disappear. If instead I try to press enter to get out of the search bar, while keeping the search-keywords - and thus the search result - this is not possible neither.
In sum, I reckon it is not possible to use 'F' to get to the results without using e.g. tab. Could it be possible to add the 'Enter' as a possible key to press to get out of the search bar while keeping your search results, so that you can use the 'F'-key to go into the results.
๐ธ Screenshots
I want to work in this
Please review PR with the bug fixed
Here I would then like to be able to press 'F' and jump to a given result from the search, but this is not possible as I'm still in the search bar. I then try to press Esc to get out of the search bar, but this deletes the search-keywords and the search results disappear.
I think this can be closed for now, because this is no longer how spotify (v1.2.47.364.gf06e5cee
) behaves. This is probably because the search functionality has been revamped.
Specifically, the following steps should do what OP wants:
- Start a search, either by clicking the search field, or pressing / (when #3200 is resolved)
- Press Enter, or pressESC twice
- Press f to start hinting (that's what it's properly called, not "Vim mode", as it says in the source code)
When you will click enter while search bar is focused, it will stop being focused and you will be able to use vim keybinds.
If you want to focus search bar with vim, then the input
elements would need to be added to vim keybinds but I'm pretty sure it would break more than help.