mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[PR #742] [MERGED] Add support for vim like motions, i.e. 5j 8k, etc. #862
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#862
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/742
Author: @markgandolfo
Created: 6/4/2025
Status: ✅ Merged
Merged: 6/22/2025
Merged by: @aome510
Base:
master← Head:master📝 Commits (2)
bc3423fAdd support for vim like motions, i.e. 5j 8k, etc.bfc8292Merge branch 'master' into master📊 Changes
6 files changed (+123 additions, -87 deletions)
View changed files
📝
README.md(+59 -59)📝
spotify_player/src/command.rs(+4 -4)📝
spotify_player/src/event/mod.rs(+22 -2)📝
spotify_player/src/event/page.rs(+17 -14)📝
spotify_player/src/event/window.rs(+16 -8)📝
spotify_player/src/state/ui/mod.rs(+5 -0)📄 Description
Added support for vim-motions when navigating..
managed to get it working with one function that will listen for keys
c.to_digit(10), until a non digit is pressed where it'll call the handler with the count.I'm not really a rust developer, so any feedback is welcome..
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.