Keys
? in sot shows the keys for the focused panel. Every binding can be remapped in the config.
Everyday keys
| Key | Action |
|---|---|
1-6 |
Switch view |
Tab / Shift+Tab |
Next / previous panel |
↑ ↓ or k j |
Move |
PgUp PgDn (Ctrl+U Ctrl+D), Home End (g G) |
Page, first, last |
Enter |
Open details, or drill down from the overview |
Esc |
Close, clear the filter, or go back |
/ |
Filter |
o |
Sort: in process tables pick a column with ← → and flip with Enter; in port and dev lists o cycles the column and s flips |
x / t |
Kill / terminate the selected process (asks first) |
n |
Show or hide the I/O and connection columns |
+ / - |
Overview zoom |
r |
Refresh |
Ctrl+P |
Command palette |
q |
Quit |
The Bench and Clean views have their own keys; see sot bench and sot clean.
Remap a key
Every binding has an id. Put the ones you want to change under [keymap] in the config file, mapping the id to the new keys:
[keymap]
"sot.process.kill" = "ctrl+k"
"sot.view.processes" = "p"Every binding
sot --keys prints every binding with its id. This is its output for sot 7.0.0:
~/sotsot --keys
| Id | Keys | Action |
|---|---|---|
sot.back | Esc | Back |
sot.bench.export | e | Export |
sot.bench.longer | + = | +1s |
sot.bench.run | Enter | Run |
sot.bench.shorter | - | -1s |
sot.clean.all | a | All/none |
sot.clean.dry_run | d | Dry run |
sot.clean.force | f | Force |
sot.clean.privacy | p | Privacy |
sot.clean.rescan | r | Rescan |
sot.clean.run | c | Clean |
sot.clean.toggle | Space | Toggle |
sot.confirm.no | n Esc | Cancel |
sot.confirm.yes | y | Confirm |
sot.details | Enter | Details |
sot.filter | / | Filter |
sot.filter.clear | Esc | Clear filter |
sot.help | ? | Help |
sot.list.down | ↓ j | Down |
sot.list.first | Home g | First |
sot.list.last | End G | Last |
sot.list.page_down | PgDn Ctrl+d | Page down |
sot.list.page_up | PgUp Ctrl+u | Page up |
sot.list.up | ↑ k | Up |
sot.open | Enter | Open |
sot.picker.cancel | Esc | Cancel |
sot.process.kill | x | Kill |
sot.process.network | n | Net columns |
sot.process.terminate | t | Terminate |
sot.quit | q | Quit |
sot.refresh | r | Refresh |
sot.sort.cycle | o | Sort |
sot.sort.done | Esc o | Done |
sot.sort.mode | o | Sort |
sot.sort.next | → l | Next column |
sot.sort.prev | ← h | Prev column |
sot.sort.reverse | s | Direction |
sot.sort.toggle | Enter | Toggle |
sot.view.bench | 5 | Bench |
sot.view.clean | 6 | Clean |
sot.view.disks | 3 | Disks |
sot.view.overview | 1 | Overview |
sot.view.processes | 2 | Processes |
sot.view.system | 4 | System |
sot.zoom.in | + = | Zoom in |
sot.zoom.out | - | Zoom out |