[GH-ISSUE #947] [Feature request] Remapping done properly #412

Open
opened 2026-02-28 14:49:00 +03:00 by kerem · 1 comment
Owner

Originally created by @kitallen23 on GitHub (Feb 12, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/947

As a non-qwerty user, it's rather crippling not being able to remap the basic movement keys. I can't see a valid reason why reserved keys exist.

To be more specific, what I would like to remap are:

Move selection left
Move selection down
Move selection up
Move selection right
Move selection to top of list
Move selection to middle of list
Move selection to bottom of list
Enter active mode
Start playback or enter album/artist/playlist

Note that for the last two options, there's an optional keybinding with the key submit, but it appears to not be used (or at least it doesn't work as I'm expecting it to).

For an application that runs in the terminal, I would expect to be able to remap all keys as I see fit.

Originally created by @kitallen23 on GitHub (Feb 12, 2022). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/947 As a non-qwerty user, it's rather crippling not being able to remap the basic movement keys. I can't see a valid reason why reserved keys exist. To be more specific, what I would like to remap are: ``` Move selection left Move selection down Move selection up Move selection right Move selection to top of list Move selection to middle of list Move selection to bottom of list Enter active mode Start playback or enter album/artist/playlist ``` Note that for the last two options, there's an optional keybinding with the key `submit`, but it appears to not be used (or at least it doesn't work as I'm expecting it to). For an application that runs in the terminal, I would expect to be able to remap all keys as I see fit.
Author
Owner

@aromeronavia commented on GitHub (Jun 25, 2022):

Seems this can be achieved by modifying the file user_config.rs adding the options move_selection_left and the others to the structs KeyBindings, KeyBindingsString and UserConfig
https://github.com/Rigellute/spotify-tui/blob/master/src/user_config.rs

<!-- gh-comment-id:1166195841 --> @aromeronavia commented on GitHub (Jun 25, 2022): Seems this can be achieved by modifying the file `user_config.rs` adding the options `move_selection_left` and the others to the structs `KeyBindings`, `KeyBindingsString` and `UserConfig` https://github.com/Rigellute/spotify-tui/blob/master/src/user_config.rs
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#412
No description provided.