convert keys into table in README.md

This commit is contained in:
krolxon 2024-05-16 19:07:58 +05:30
parent bcec798632
commit d48e57a3c7
1 changed files with 30 additions and 28 deletions

View File

@ -9,34 +9,36 @@ rmptui is a minimal tui mpd client made with rust.
![](https://raw.githubusercontent.com/krolyxon/rmptui/master/assets/ss.png) ![](https://raw.githubusercontent.com/krolyxon/rmptui/master/assets/ss.png)
### Keys ### Keys
- `q` OR `Ctr+C` to quit | Key | Action |
- `p` to toggle pause | --- | --- |
- `+` to increase volume | `q` OR `Ctr+C` | Quit |
- `-` to decrease volume | `p` | Toggle pause |
- `D` to get dmenu prompt | `+` | Increase volume |
- `j` OR `Down` to scroll down | `-` | Decrease volume |
- `k` OR `Up` to scroll up | `D` | Get dmenu prompt |
- `J` to swap highlighted song with next one | `j` OR `Down` | Scroll down |
- `K` to swap highlighted song with previous one | `k` OR `Up` | Scroll up |
- `l` OR `Right` add song to playlist or go inside the directory | `J` | Swap highlighted song with next one |
- `h` OR `Left` to go back to previous directory | `K` | Swap highlighted song with previous one |
- `Tab` to cycle through tabs | `l` OR `Right` | Add song to playlist or go inside the directory |
- `1` to go to queue | `h` OR `Left` | Go back to previous directory |
- `2` to go to directory browser | `Tab` | Cycle through tabs |
- `3` to go to playlists view | `1` | Go to queue |
- `Enter` OR `l` OR `Right` to add song/playlist to current playlist | `2` | Go to directory browser |
- `a` to append the song to current playing queue | `3` | Go to playlists view |
- `Space`/`BackSpace` to delete the highlighted song from queue | `Enter` OR `l` OR `Right` | Add song/playlist to current playlist |
- `f` to go forwards | `a` | Append the song to current playing queue |
- `b` to go backwards | `Space`/`BackSpace` | Delete the highlighted song from queue |
- `>` to play next song from queue | `f` | Go forwards |
- `<` to play previous song from queue | `b` | Go backwards |
- `U` to update the MPD database | `>` | Play next song from queue |
- `r` to toggle repeat | `<` | Play previous song from queue |
- `z` to toggle random | `U` | Update the MPD database |
- `/` to search | `r` | Toggle repeat |
- `g` to go to top of list | `z` | Toggle random |
- `G` to go to bottom of list | `/` | Search |
| `g` | Go to top of list |
| `G` | Go to bottom of list |
### Prerequisites ### Prerequisites
- [MPD](https://wiki.archlinux.org/title/Music_Player_Daemon) installed and configured. - [MPD](https://wiki.archlinux.org/title/Music_Player_Daemon) installed and configured.