TUI Keybindings
vaste-tui keys cannot be changed. Letters are case-sensitive: g and G do different things. With Alt, use the lowercase letter.
Everywhere
Section titled “Everywhere”These keys work in every view, unless a search bar, command line, or list is open.
| Key | Action |
|---|---|
q, Ctrl + C |
Quit |
? |
Show or hide the help screen |
Tab |
Show the next view: Text, Hex, then the table or NDJSON view |
t |
Show Text view |
x |
Show Hex view |
r |
Reload the file |
e |
Open the encoding list |
L |
Turn log-level colors on or off |
Ctrl + G |
Turn grep mode on or off, in Text view after a search |
Esc |
Leave grep mode, or clear the search |
Text view and grep mode
Section titled “Text view and grep mode”| Key | Action |
|---|---|
j, Down |
Scroll one line down |
k, Up |
Scroll one line up |
d, u |
Scroll half a screen down or up |
Page Down, Page Up |
Scroll one screen down or up. Not in grep mode. |
g, Home |
Go to the start of the file |
G, End |
Go to the end of the file |
/ |
Open the search bar |
n, N |
Go to the next or previous match |
: |
Open the command line |
m, then a letter |
Set a mark |
', then a letter |
Go to a mark |
Hex view
Section titled “Hex view”The keys of Text view, scrolling by rows of bytes, and:
| Key | Action |
|---|---|
w |
Show 8, 16, or 32 bytes per row |
NDJSON view
Section titled “NDJSON view”The keys of Text view, moving the focus from record to record, and:
| Key | Action |
|---|---|
Enter |
Expand or collapse the focused record |
Table view
Section titled “Table view”| Key | Action |
|---|---|
j, Down, k, Up |
Scroll one row down or up |
d, u, Page Down, Page Up |
Scroll half a screen or a screen |
g, Home, G, End |
Go to the first or last row |
h, Left |
Select the previous column |
l, Right |
Select the next column |
s |
Sort by the selected column, ascending |
S |
Sort by the selected column, descending |
c |
Clear the sort |
f, Enter |
Filter the selected column |
F |
Clear the filter |
i |
Show the selected column’s statistics |
: |
Open the command line |
The table view has no search and no marks. See Table view.
Search bar
Section titled “Search bar”The search bar opens with /. See TUI search and marks.
| Key | Action |
|---|---|
Enter |
Search. With nothing typed, clear the search. |
Esc |
Close the search bar and clear the search |
Alt + l |
Literal text |
Alt + r |
Regular expression |
Alt + h |
Hex bytes |
Alt + m |
Several literal patterns separated by | |
Alt + i |
Ignore case on or off |
Alt + w |
Whole words on or off |
The search bar also uses these text editing keys:
| Key | Action |
|---|---|
Left, Right |
Move the cursor |
Home, End, Ctrl + A, Ctrl + E |
Go to the start or end of the text |
Backspace, Delete |
Delete a character |
Ctrl + W |
Delete the previous word |
Ctrl + K |
Delete to the end of the text |
Ctrl + U |
Undo |
Ctrl + C |
Nothing. It does not quit here. |
Command line
Section titled “Command line”The command line opens with :. See TUI commands.
| Key | Action |
|---|---|
Enter |
Run the command |
Esc |
Close the command line |
Backspace |
Delete a character, or close the command line when it is empty |
Table filter
Section titled “Table filter”The filter prompt opens with f or Enter in the table view.
| Key | Action |
|---|---|
Enter |
Apply the filter. With nothing typed, keep the current filter. |
Esc |
Close the prompt without filtering |
Backspace |
Delete a character |
Encoding list
Section titled “Encoding list”The encoding list opens with e.
| Key | Action |
|---|---|
| Letters and digits | Narrow the list. j and k move instead: type J and K. |
Up, Down |
Move the selection |
Backspace |
Delete a character from the filter |
Enter |
Reopen the file with the selected encoding |
Esc |
Close the list |
Boxes and the help screen
Section titled “Boxes and the help screen”The help screen, the file statistics, the column statistics, and error messages close with any key.
The help screen lists the main keys. It shows Alt keys with capital letters, such as Alt+L: press them with the lowercase letter. It does not list Home, End, Ctrl + C, or :count TEXT, which are on this page and TUI commands.
Next steps
Section titled “Next steps”- TUI navigation and views: what each view shows
- TUI commands: the
:commands