mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[PR #141] [CLOSED] Add Ctrl+g and G vim style keybindings to move cursor to first and last line #629
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#629
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/Rigellute/spotify-tui/pull/141
Author: @ghost
Created: 11/6/2019
Status: ❌ Closed
Base:
master← Head:vim-style-keybindings📝 Commits (2)
72c8a62Add ctrl+g and G vim style keybinding to move first and last line in the list7743a6dsolve a conflict: use crate instead of super::super📊 Changes
9 files changed (+184 additions, -1 deletions)
View changed files
📝
src/handlers/album_list.rs(+6 -0)📝
src/handlers/album_tracks.rs(+6 -0)📝
src/handlers/artist_albums.rs(+6 -0)📝
src/handlers/artists.rs(+6 -0)📝
src/handlers/common_key_events.rs(+136 -1)📝
src/handlers/playlist.rs(+6 -0)📝
src/handlers/recently_played.rs(+6 -0)📝
src/handlers/search_results.rs(+6 -0)📝
src/handlers/track_table.rs(+6 -0)📄 Description
I add new keybindings for cursor motion.
ctrl+g and G are Vim-like keybinding that move cursor to first and last line of the list. Real vim keybinding to move cursor to first line is gg but it seems that keybindings that use two or more key are not supported in this app so I assign the fiunction to ctrl+g.
I think that i implemented them in all blocks (Artists, Albums, Playlists and so on) but if you notice my over looking, please tell me it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.