docs/src/basic_usage.md
81 lines · 2885 bytes
Basic usage
Here is a basic how-to guide on the TUI.
Cursor
The cursor can be moved using arrow keys, or Vim keybindings (hjkl).

The item with the cursor hovering will have a red outline.
Everything here refers to the latest default config, including the keybindings.
| Function | Key(s) |
|---|---|
| Select | Enter |
| Deselect | Esc |
| Cursor up | Up arrow / k |
| Cursor down | Down arrow / j |
| Cursor left | Left arrow / h |
| Cursor right | Right arrow / l |
| Previous page | Backspace / Alt + Left arrow |
| First page history | Home |
| Clear page history | End |
| Paste from clipboard | Ctrl + V |
| Enter command mode | : |
| Quit | q |
Selection
Selecting an item allows you to move the cursor within that item, to select an item, press Enter.
When nothing is selected, you can move the cursor between items, to deselect from an item, hit Esc.
Searching
Type the search query when the search bar and press Enter, use arrow keys to move the cursor around.
To apply search filters, select the button with 3 dots (...) to the right of the search bar, hit enter to start modifying and enter again to save. Pressing Esc should reload the current search page to apply the filters.

Playing videos and playlists
This part assumes that you use
mpvas your video player,konsoleas your terminal emulator,yt-dlpas your YouTube video downloader, andfirefoxas your browser.If that is not the case, you can learn how to change that in the custom commands section.
Press Enter to select a video or playlist from any lists, then move the cursor to the bottom item where you can play, download and open the webpage in browser.
Playlist views
The playlist page allows two different view modes, the first of which is commands view - similar to what the video page offers.
The other one is videos view, which allows you to look at each videos in the playlist individually.
Command mode
Command mode is like that of Vim, it can be started by pressing : when nothing is selected.
More about commands in the next chapter.
Buttons
Buttons have no use on their own, but allows you to navigate between pages.
Mouse click control

Mouse click controls has been added, you can now use your mouse to navigate around the TUI. Here are the general rules:
- Clicking an item moves the cursor to that item, clicking again selects the item
- Clicking on buttons, or items on a list has the same effect as pressing
Enteron them - Clicking outside a popup closes the popup
However, there are some downsides to not using your keyboard.
- Cannot move up or down to items not on screen in a list (you can do that with
UporDown arrow) - Cannot access function keys like
BackspaceorQ