[PR #112] [MERGED] Add keybinding config file #612

Closed
opened 2026-02-28 14:50:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/112
Author: @zacklukem
Created: 10/25/2019
Status: Merged
Merged: 10/31/2019
Merged by: @Rigellute

Base: masterHead: master


📝 Commits (6)

  • 2c7884e Add keybinding config file
  • 155e9b4 Fix clippy and rustfmt errors
  • 592d75f Add human readable error message for reserved keys
  • c02da6a Fixed issue in test
  • aec76c0 move keybindings intoits own section in config file
  • ca9ff55 Merge pull request #1 from jfaltis/config-keybindings-section

📊 Changes

5 files changed (+331 additions, -30 deletions)

View changed files

📝 README.md (+35 -0)
📝 src/app.rs (+3 -0)
📝 src/handlers/mod.rs (+14 -14)
📝 src/main.rs (+16 -16)
src/user_config.rs (+263 -0)

📄 Description

This will add a config.yml file along side the client.yml file which
will allow the user to configure custom keybindings. Currently this
commit only covers global keybindings and not per-screen keybindings but
this could be added in the future. This commit also doesn't currently
allow for overriding default navigation keys (hjkl etc.) but that could
also be added later.

Resolves: #46


🔄 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/Rigellute/spotify-tui/pull/112 **Author:** [@zacklukem](https://github.com/zacklukem) **Created:** 10/25/2019 **Status:** ✅ Merged **Merged:** 10/31/2019 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`2c7884e`](https://github.com/Rigellute/spotify-tui/commit/2c7884ec24e9ac9689ed916893e48bc6277a67d3) Add keybinding config file - [`155e9b4`](https://github.com/Rigellute/spotify-tui/commit/155e9b4b4c35dcd54292cf0bbc5cb86fd099a5e0) Fix clippy and rustfmt errors - [`592d75f`](https://github.com/Rigellute/spotify-tui/commit/592d75f58418b5f4e4025abe1350842a18c070a5) Add human readable error message for reserved keys - [`c02da6a`](https://github.com/Rigellute/spotify-tui/commit/c02da6a8f1a335ec735f2d406605e9a4d473f993) Fixed issue in test - [`aec76c0`](https://github.com/Rigellute/spotify-tui/commit/aec76c0e642c708fe05c9dc7c43618bffbb5b7ce) move keybindings intoits own section in config file - [`ca9ff55`](https://github.com/Rigellute/spotify-tui/commit/ca9ff55d5c16916ffac08511f624ed67f3ccb7eb) Merge pull request #1 from jfaltis/config-keybindings-section ### 📊 Changes **5 files changed** (+331 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+35 -0) 📝 `src/app.rs` (+3 -0) 📝 `src/handlers/mod.rs` (+14 -14) 📝 `src/main.rs` (+16 -16) ➕ `src/user_config.rs` (+263 -0) </details> ### 📄 Description This will add a `config.yml` file along side the `client.yml` file which will allow the user to configure custom keybindings. Currently this commit only covers global keybindings and not per-screen keybindings but this could be added in the future. This commit also doesn't currently allow for overriding default navigation keys (hjkl etc.) but that could also be added later. Resolves: #46 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:50:13 +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-tui#612
No description provided.