[PR #748] [MERGED] Feature: Add ability to jump to search result #861

Closed
opened 2026-03-03 00:01:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/748
Author: @JohnMitchell04
Created: 6/17/2025
Status: Merged
Merged: 7/26/2025
Merged by: @aome510

Base: masterHead: master


📝 Commits (6)

📊 Changes

4 files changed (+24 additions, -1 deletions)

View changed files

📝 README.md (+1 -0)
📝 spotify_player/src/command.rs (+2 -0)
📝 spotify_player/src/config/keymap.rs (+4 -0)
📝 spotify_player/src/event/window.rs (+17 -1)

📄 Description

Currently, there's no way to jump to a search result within a playlist without first playing the song and using JumpToCurrentTrackInContext. This PR adds the ability to jump directly to any search result in a playlist. After searching, highlight a result and press C-j to jump to its location in the playlist.

The default keybind is C-j, which overlaps with MovePlaylistItemDown. Whilst, the two don't conflict during search, I recognise this may not be desirable, so I can change the default if desired.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/748 **Author:** [@JohnMitchell04](https://github.com/JohnMitchell04) **Created:** 6/17/2025 **Status:** ✅ Merged **Merged:** 7/26/2025 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`af340f7`](https://github.com/aome510/spotify-player/commit/af340f7ebf0ff281400e7596e7d0d5613653e7e6) Add the ability to jump to a search result - [`5d6f1de`](https://github.com/aome510/spotify-player/commit/5d6f1de9ee3b59a3f2aadc06cb07d72689876f14) Fix typo - [`f83d070`](https://github.com/aome510/spotify-player/commit/f83d07078023e483cb096b78edcf3c5b2b8595d2) Fix typo - [`51b7b54`](https://github.com/aome510/spotify-player/commit/51b7b547b27205f1a6a47ca732caad2cff710c28) Expand context and change keybind - [`a99d001`](https://github.com/aome510/spotify-player/commit/a99d001f09901fd789ac0cf39e7964c2c7f1858b) Merge branch 'master' into master - [`745d729`](https://github.com/aome510/spotify-player/commit/745d729c6bfb6a16b34afef807fd56ad89be16b4) fmt ### 📊 Changes **4 files changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `spotify_player/src/command.rs` (+2 -0) 📝 `spotify_player/src/config/keymap.rs` (+4 -0) 📝 `spotify_player/src/event/window.rs` (+17 -1) </details> ### 📄 Description Currently, there's no way to jump to a search result within a playlist without first playing the song and using `JumpToCurrentTrackInContext`. This PR adds the ability to jump directly to any search result in a playlist. After searching, highlight a result and press C-j to jump to its location in the playlist. The default keybind is C-j, which overlaps with `MovePlaylistItemDown`. Whilst, the two don't conflict during search, I recognise this may not be desirable, so I can change the default if desired. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:01:10 +03:00
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#861
No description provided.