[GH-ISSUE #127] More navigation commands #56

Closed
opened 2026-03-02 23:44:07 +03:00 by kerem · 2 comments
Owner

Originally created by @bartlibert on GitHub (Feb 9, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/127

I'd like to have some more navigation commands in the app

  • PageDown/PageUp (by default mapped to CTRL-F and CTRL-B for example)
  • Scroll to bottom/scroll to top (mapped to 'gg' and 'G' by default for example)
  • "count" prefixes for j/k, so for example 10j will scroll 10 lines down.
Originally created by @bartlibert on GitHub (Feb 9, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/127 I'd like to have some more navigation commands in the app - PageDown/PageUp (by default mapped to CTRL-F and CTRL-B for example) - Scroll to bottom/scroll to top (mapped to 'gg' and 'G' by default for example) - "count" prefixes for j/k, so for example 10j will scroll 10 lines down.
kerem 2026-03-02 23:44:07 +03:00
Author
Owner

@aome510 commented on GitHub (Feb 11, 2023):

"count" prefixes for j/k, so for example 10j will scroll 10 lines down.

Adding other navigation commands should be a trivial change except this one =)). IMHO, it should be enough to navigate with a combination of page(up/down) (which can be implemented as moving up/down 10 rows) and (up/down) commands. Also, I tend to avoid complicating the handling code if possible.

I did implement a similar thing for my other app (hackernews-tui) but it feels really hacky to me.

<!-- gh-comment-id:1426899909 --> @aome510 commented on GitHub (Feb 11, 2023): > "count" prefixes for j/k, so for example 10j will scroll 10 lines down. Adding other navigation commands should be a trivial change except this one =)). IMHO, it should be enough to navigate with a combination of page(up/down) (which can be implemented as moving up/down 10 rows) and (up/down) commands. Also, I tend to avoid complicating the handling code if possible. I did implement a similar thing for my other app (`hackernews-tui`) but it feels really hacky to me.
Author
Owner

@bartlibert commented on GitHub (Feb 13, 2023):

No problem. I'm a developer myself, so I understand wanting to keep code simple. Some combination of the other ones would indeed already cover almost all cases. (I'm just a vim freak I guess 😉)

<!-- gh-comment-id:1427470578 --> @bartlibert commented on GitHub (Feb 13, 2023): No problem. I'm a developer myself, so I understand wanting to keep code simple. Some combination of the other ones would indeed already cover almost all cases. (I'm just a vim freak I guess 😉)
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-player#56
No description provided.