Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Searcher

The file contents searcher searches all files in the current directory recursively for a given input string.

The searcher displays the directory at the top, then an input bar, and then the hits. For each hit, the file name is displayed, then a line for each occurance of the string with the line number.

The commands for the input bar are the same as those for the Finder.

Searcher Contents Commands

CommandDescription
<Ctrl>-qReturn focus to the input bar.
j | <Down>Move the selection down.
k | <Up>Move the selection up.
J | <End>Move the selection to the last file hit.
K | <Home>Move the selection to the first file hit.
<Ctrl>-jMove the view down.
<Ctrl>-kMove the view up.
l | <Enter>Open the hit in vim. If the file path of a hit is selected, then open vim at the start of the file. Else, if an occurrence of the string is selected, then open vim at the line of the occurrence.
gGo to the hit in the file browser.
GGo to the hit in the file browser and select it.
yEYank the hit to the end. If the file path of a hit is selected, yank the relative file path. Else, if an occurence of the string is selected, yank that line.
yyYank the hit line. If the file path of a hit is selected, yank the full file path. Else, if an occurence of the string is selected, yank that line.
YYank the hit file contents to the clipboard.