Skip to content

Browse and Select

The built-in browser is read-only and Vim-shaped. It is designed for scanning large terminal output and extracting the useful part.

KeyAction
j / DownMove down
k / UpMove up
h / LeftMove left
l / RightMove right
0 / HomeStart of line
^First non-blank column
$ / EndEnd of line
Ctrl-DHalf page down
Ctrl-UHalf page up
Ctrl-F / PageDownPage down
Ctrl-B / PageUpPage up
ggTop
GBottom
H / M / LTop, middle, or bottom of view

Press /, type a pattern, and press Enter.

KeyAction
/Start search
EnterRun search
EscCancel search input
nNext match
NPrevious match

Search jumps to matching rows and shows match count in the status line.

KeyAction
vCharacter selection
VLine selection
Ctrl-VBlock selection
oSwap selection anchor
yCopy selection to clipboard
EscCancel selection

Mouse selection is also supported. Drag with the left mouse button to start a selection. Hold Ctrl while dragging for block mode.

When browsing a structured session log, sivtr can jump, copy, or select the current command block.

KeyAction
[[Previous command block
]]Next command block
myyCopy current command block
myiCopy current command input
myoCopy current command output
mycCopy current bare command
mvvSelect current command block
mviSelect current command input
mvoSelect current command output

Press e to open the current selection, or the whole buffer if nothing is selected, in the configured editor.

Configure the editor:

[editor]
command = "nvim"