Lokyr
Documentation

search: the find bar and Find in All Tabs

On this page

lokyr/search · bundled · source

A bar at the top right of the pane that searches its screen and its scrollback as you type, highlights every match that shows, and steps through them; and Find in All Tabs, which searches every pane at once.

The bar

Find in All Tabs

Commands

CommandMenuDefault keysWhat it does
search.openEdit › Find…⌘FOpens the bar at the pane that has the keyboard; of its arguments text, column and row, of that text, the match at that cell its current one, as Find in All Tabs opens it · Since 1.6
search.nextEdit › Find Next⌘GMakes the next match, the one above, the current one; it opens the bar while it is closed. Return in the bar does the same
search.previousEdit › Find Previous⇧⌘GMakes the previous match, the one below, the current one. ⇧Return in the bar does the same
search.find-allEdit › Find in All Tabs…⇧⌘FOpens Find in All Tabs, which searches every pane of the session's windows as you type · Since 1.6
search.move—↑, ↓ while search.find-all.focusedMoves Find in All Tabs' selection, by its argument delta, a whole number of items · Since 1.6

Configuration

Its keys go in [plugins.search]:

KeyValuesDefaultWhat it does
case"smart", "insensitive""smart"Whether case counts while the case toggle is off: smart counts it for a text of a capital letter, as Error finds Error and not error; insensitive never does
highlight-alltrue, falsetrueWhether every match that shows is highlighted, or the current one alone
wrap-aroundtrue, falsetrueWhether a step past the last match goes on from the first, and past the first from the last
[plugins.search]
case = "insensitive"
highlight-all = false

The colors of the matches are the theme's, search.match and search.match.current.

Turning it off

[plugins.search]
enabled = false

The bar, Find in All Tabs and their commands go, with their keys: ⌘F and ⇧⌘F then do nothing in Lokyr.

Permissions

It reads the terminal's text, which the search goes through, of terminal-read, draws the matches, of decorate, and selects the current one, of pane-view. Find in All Tabs brings the match's pane forward, with its tab and its window, of workspace-write and the app's window.goto · Since 1.6.