[GH-ISSUE #470] [feature]: move cursor 10 lines down and up by pressing ctrl+d and ctrl+u respectively #267

Closed
opened 2026-03-02 23:46:04 +03:00 by kerem · 6 comments
Owner

Originally created by @diegoulloao on GitHub (Jun 20, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/470

Is your feature already implemented in the latest master?
No

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Some editors like nvim and vim allows you to move the cursor 10 lines down by pressing ctrl+d and up by ctrl+u.
It would be cool to have this feature to move quickly throughout the list, playlist or search results.

Originally created by @diegoulloao on GitHub (Jun 20, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/470 **Is your feature already implemented in the latest `master`?** No **Is your feature request related to a problem? Please describe.** No **Describe the solution you'd like** Some editors like nvim and vim allows you to move the cursor 10 lines down by pressing `ctrl+d` and up by `ctrl+u`. It would be cool to have this feature to move quickly throughout the list, playlist or search results.
kerem 2026-03-02 23:46:04 +03:00
Author
Owner

@aome510 commented on GitHub (Jun 20, 2024):

It should already be possible with PageSelectPreviousOrScrollUp and PageSelectNextOrScrollDown. You can configure the page size with page_size_in_rows config option.

<!-- gh-comment-id:2181584584 --> @aome510 commented on GitHub (Jun 20, 2024): It should already be possible with `PageSelectPreviousOrScrollUp` and `PageSelectNextOrScrollDown`. You can configure the page size with `page_size_in_rows` config option.
Author
Owner

@diegoulloao commented on GitHub (Jun 21, 2024):

It should already be possible with PageSelectPreviousOrScrollUp and PageSelectNextOrScrollDown. You can configure the page size with page_size_in_rows config option.

I mean, for vim/nvim users it would be great to do it using the ctrl+d and ctrl+u keybindings too.
Those two ways could live together. There are also other terminal applications that are using the same keybindings to move around up and down (vim inspired I guess). I'd be very nice to have it here too.

<!-- gh-comment-id:2182627159 --> @diegoulloao commented on GitHub (Jun 21, 2024): > It should already be possible with `PageSelectPreviousOrScrollUp` and `PageSelectNextOrScrollDown`. You can configure the page size with `page_size_in_rows` config option. I mean, for vim/nvim users it would be great to do it using the `ctrl+d` and `ctrl+u` keybindings too. Those two ways could live together. There are also other terminal applications that are using the same keybindings to move around up and down (vim inspired I guess). I'd be very nice to have it here too.
Author
Owner

@aome510 commented on GitHub (Jun 21, 2024):

You can add bindings to ctrl+u and ctrl+d right?

<!-- gh-comment-id:2182638685 --> @aome510 commented on GitHub (Jun 21, 2024): You can add bindings to ctrl+u and ctrl+d right?
Author
Owner

@diegoulloao commented on GitHub (Jun 24, 2024):

You can add bindings to ctrl+u and ctrl+d right?

idk, it is possible? how?

<!-- gh-comment-id:2187430575 --> @diegoulloao commented on GitHub (Jun 24, 2024): > You can add bindings to ctrl+u and ctrl+d right? idk, it is possible? how?
Author
Owner

@aome510 commented on GitHub (Jun 24, 2024):

You can add bindings to ctrl+u and ctrl+d right?

idk, it is possible? how?

add

[[keymaps]]
command = "PageSelectNextOrScrollDown"
key_sequence = "C-d"
[[keymaps]]
command = "PageSelectPreviousOrScrollUp"
key_sequence = "C-u"

to keymap.toml

More details: https://github.com/aome510/spotify-player/blob/master/docs/config.md#keymaps

<!-- gh-comment-id:2187545926 --> @aome510 commented on GitHub (Jun 24, 2024): > > You can add bindings to ctrl+u and ctrl+d right? > > idk, it is possible? how? add ```toml [[keymaps]] command = "PageSelectNextOrScrollDown" key_sequence = "C-d" [[keymaps]] command = "PageSelectPreviousOrScrollUp" key_sequence = "C-u" ``` to `keymap.toml` More details: https://github.com/aome510/spotify-player/blob/master/docs/config.md#keymaps
Author
Owner

@diegoulloao commented on GitHub (Jun 25, 2024):

Great, I didn't know about this. Anyway I think it would be great to have these keymaps built-in the app. But this keymap.toml absolutely works! Thanks.

<!-- gh-comment-id:2188838637 --> @diegoulloao commented on GitHub (Jun 25, 2024): Great, I didn't know about this. Anyway I think it would be great to have these keymaps built-in the app. But this `keymap.toml` absolutely works! Thanks.
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#267
No description provided.