Lokyr
Documentation

Configuration

On this page

Lokyr reads its settings from one TOML file. This guide lists every key that the file can hold: what it does, the values it takes and its default.

Every key and every section can be left out, and then takes its default: an empty file, or no file at all, gives Lokyr as it ships.

Under each key's name, a small line tells the platforms where the key applies: macOS alone for now, as Lokyr's first version runs on macOS. As Lokyr comes to other systems, the line names them, and a key that one system alone has says so.

The file

A complete example

Every key that Lokyr reads, with the values that it takes in the comment. Most show a value other than their default; a few show theirs, such as cell-width, antialias and padding-y:

config_version = 1

[font]
family = "CaskaydiaCove NFM"         # a family as Font Book shows it; SF Mono by default
size = 22                            # points, from 4 to 200
style = "SemiBold"                   # the face of plain text, by the font's name for it
bold-style = "Bold"                  # the faces of bold, italic and bold italic text
italic-style = "Italic"
bold-italic-style = "Bold Italic"
non-ascii-family = "Hiragino Sans"   # the family of the text past ASCII
line-height = 1.1                    # factors of the cell, from 0.5 to 3
cell-width = 1.0
ligatures = false                    # true | false
builtin-box-drawing = false          # true | false: box drawing, blocks and braille
builtin-powerline = false            # true | false: the powerline symbols
antialias = true                     # true | false
thin-strokes = "retina-dark"         # never | always | retina | dark | retina-dark
system-weight = true                 # true | false: the text of the weight of macOS's

[text]
bold = false                         # true | false: bold text in the bold face
italic = false                       # true | false: italic text in the italic face
ansi-colors = false                  # true | false: the colors that programs set
bold-is-bright = true                # true | false: bold text of the first eight colors in their bright ones
blink = false                        # true | false: text that programs make blink
faint-opacity = 0.6                  # 0.1 to 1: faint text's opacity over its background

[cursor]
shape = "bar"                        # block | bar | underline | hollow
blink = false                        # true | false
thickness = 2                        # points, from 0.5 to 20
length = 0.6                         # a bar's height, an underline's width, from 0.1 to 1
blink-interval = 600                 # ms on, then off, from 100 to 5000
blink-timeout = 30                   # seconds after a key or output; 0 never stops
smooth-blink = "custom"              # off | breathing | linear | fast | slow | subtle | custom
fade-in = 300                        # with "custom": ms, from 0 to 10000
fade-out = 400
fade-in-curve = "ease-out"           # linear | ease-in | ease-out | ease-in-out
fade-out-curve = "ease-in"
visible = 700                        # ms held visible, from 0 to 10000
hidden = 200                         # ms held hidden
movement = "snappy"                  # instant | snappy: how it moves to a new cell
guide = true                         # true | false: a band across the cursor's row
hdr = true                           # true | false: a cursor brighter than white, on an XDR display
hdr-brightness = 3.0                 # 1 to 4: how much brighter than white, with hdr
click-to-move = true                 # true | false: a click in the command line moves the shell's cursor

[window]
columns = 120                        # a new window's size, in cells, from 1 to 1000
rows = 40
remember-frame = false               # true | false: the first window where the last one was
close-on-exit = "never"              # clean | always | never
start-directory = "last"             # home | last | a path: the first window's folder
new-directory = "~/Projects"         # inherit | home | a path: a new window's folder
padding-x = 6                        # points, from 0 to 100
padding-y = 4
gutter = false                       # true | false: the commands' marks at the panes' left
scrollbar = "always"                 # system | always | never: the panes' scroll bars
smooth-scroll = true                 # true | false: scroll by pixels
background-opacity = 0.9             # from 0 to 1
background-blur = 20                 # points, from 0 to 100
title-size = false                   # true | false: the grid's size in the title
title-shortcut = false               # true | false: ⌥⌘1 at the titlebar's right
opaque-titlebar = true               # true | false: the titlebar opaque over a translucent window

[interface]
font-family = "Helvetica Neue"       # the system's interface font when absent
font-size = 14                       # points, from 4 to 200

[slots]
tab-bar = "lokyr/tabs"               # the plugin whose tab bar shows; the first that has one when absent
pane-header = "lokyr/command-header" # the plugin whose panes' headers show; likewise

[terminal]
term = "xterm-lokyr"                 # the TERM that programs see
unicode-widths = "8"                 # current | 8: the width tables
ambiguous-width = 2                  # 1 | 2: the cells of an ambiguous character
normalization = "nfc"                # none | nfc | nfd | hfs+
shell-integration = false            # true | false: the shell tells its prompts and its folder
image-memory = 128                   # MiB of a pane's inline images, 0 showing none

[scrollback]
scroll-on-output = true              # true | false: output brings the view back down
limit = 20                           # MiB of a window's scrollback, from 1 to 16384
budget = 200                         # MiB that the windows' scrollbacks share

[keyboard]
option-as-meta = "left"              # none | left | right | both

[clipboard]
read = "ask"                         # never | ask: a program's read of the clipboard
confirm-paste = "always"             # auto | always | never: a paste with line breaks asks first
copy-on-select = true                # a selection by the mouse copies its text as it ends

[links]
urls = "open"                        # ask | open: a URL that ⌘-click opens
files = "reveal"                     # ask | open | reveal: a file that ⌘-click opens
search-engine = "duckduckgo"         # google | duckduckgo | bing | ecosia | kagi | startpage, or a URL of {query}
editor = "vscode"                    # system | vscode | cursor | zed | sublime | …: a file's line that ⌘-click opens

[bell]
sound = true                         # true | false: the system's alert sound
flash = false                        # true | false: a flash of the window that has the focus
bounce = false                       # true | false: the Dock's icon, for a window in the background
mark-title = false                   # true | false: 🔔 in its title until it takes the focus

[notifications]
long-command = 30                    # seconds, from 1 to 86400, or 0 for none: a notification as a command this long ends

[agents]
programs = [                         # the agents' programs, by the names that they go by
    "claude", "codex", "gemini", "opencode", "aider", "cursor-agent",
    "copilot", "amp", "goose", "qwen", "crush", "droid",
]
done-after = 3                       # seconds, 0.5 to 60, without work before an agent asked something is done
notify = true                        # true | false: a notification as an agent waits for you or is done
dock-badge = true                    # true | false: the Dock's icon counts the agents that wait for you

[sessions]
folders = ["~/src/*", "~/.config"]   # the folders that the sessions' switcher lists

[theme]
light = "Lokyr Light"                # the light appearance's theme, a file of themes/, held or built in
dark = "Nightfall"                   # the dark appearance's theme
minimum-contrast = 3.0               # 1 to 21: the least contrast of the terminal's text

[app]
icon = "laguz"                       # jormungandr | jormungandr-sticker | laguz
language = "it"                      # system | en | it
appearance = "dark"                  # system | light | dark
quit-after-last-window-closed = true # true | false: Lokyr quits as its last window closes
restore-windows = "always"           # system | always | never: the windows open again as Lokyr starts
restore-scrollback = true            # true | false: the panes show again what they showed as Lokyr quit

[updates]
check = false                        # true | false: a check for a newer version, once a day at most

[debug]
performance-overlay = true           # true | false: a panel of the performance over each window
performance-corner = "bottom-right"  # top-right | top-left | bottom-right | bottom-left

[keys]
"cmd+shift+n" = "window.new"         # keys, and the command that they run
"ctrl+a>n" = { command = "window.new", when = "!alternate-screen" }
"cmd+q" = false                      # takes the binding away; the menu's Command-Q stays, for now
"alt+backspace" = { command = "pane.send-text", args = { text = "\u0017" } }   # sends Control-W
"global:ctrl+`" = "window.toggle-quick-terminal"   # from every app: the quick terminal

# A compiler's errors, highlighted:
[triggers.errors]
pattern = 'error(\[E\d+\])?:'         # a regex: each line that completes is matched against it
action = "highlight"                 # highlight | notify | mark | command
case = "smart"                       # smart | sensitive | insensitive
enabled = true                       # true | false
color = "trigger.highlight"          # of highlight: a theme's token, or "#rrggbb"

# A build's end, told in a notification:
[triggers.built]
pattern = '^\s*Finished .* in (\S+)'
action = "notify"
title = "Built in $1"                # of notify: its title, $1 the match's first group

# A test that failed, marked in the gutter:
[triggers.failures]
pattern = '^test .* FAILED$'
action = "mark"

# A command of the palette's, run at each match:
[triggers.agent]
pattern = 'Do you want to proceed\?'
action = "command"
command = "window.next-agent"        # of command: the command that it runs
args = {}                            # of command: its arguments
enabled = false

# A plugin's own keys, in a section of its namespace, as its schema has them;
# `enabled` turns any plugin off:
# [plugins.<namespace>]
# enabled = false                    # true | false: the plugin runs
# key = "value"

[plugins.tabs]
position = "top"                     # top | bottom | left | right: where the tab bar goes
style = "unified"                    # standard | unified | seamless: the bar's look
hide-when-single = true              # true | false: no bar for a single tab
show-index = true                    # true | false: ⌘1 to ⌘9 on the first nine tabs
close-button = "hover"               # always | hover | never: a tab's close button
column-width = 200                   # points, 60 to 600: the bar's column on the left or the right
control-tab = "recent"               # recent | order: what Control-Tab steps through
reopen-seconds = 10                  # 0 to 86400: seconds a closed tab stays ready to reopen

[plugins.splits]
look = "cards"                       # cards | plain: each pane a card, or edge to edge
icons = { lazydocker = "kubernetes" }   # a program's name, and its icon in the cards' headers
dim-inactive = 0.15                  # 0 to 1: how much the panes without the keyboard fade
pane-titles = false                  # true | false: each pane's title across its top
focus-follows-mouse = false          # true | false: the keyboard goes to the pane under the pointer

[plugins.quick-terminal]
position = "bottom"                  # top | bottom | left | right | center
size = "40%,80%"                     # into the screen, then along the edge: 1% to 100%, or points as "300px"
screen = "mouse"                     # main | mouse | menu-bar
animation = 150                      # ms, from 0 to 2000
autohide = false                     # true | false: hides as it loses the focus
double-tap = "ctrl"                  # none | ctrl | alt | cmd | shift
spaces = "remain"                    # move | remain

[plugins.search]
case = "smart"                       # smart | insensitive: whether case counts while the bar's case toggle is off
highlight-all = true                 # true | false: every match that shows highlighted
wrap-around = true                   # true | false: a step past the last match goes on from the first

[plugins.command-header]
background = "panel.bg"              # the theme's token of the pill's background, by its name
text = "text"                        # the theme's token of its text
border = "panel.border"              # the theme's token of its border, as "accent"
line = "panel.border"                # the theme's token of the line across the pane
hover = "button.hover.bg"            # the theme's token over its background under the pointer
font-size = 0                        # points, 0 to 200, of the terminal's font; 0 for its own size
font-weight = "regular"              # light | regular | medium | semibold | bold | heavy
padding-x = 8                        # points, 0 to 40, left and right of the text
padding-y = 1                        # points, 0 to 20, above and below it
align = "left"                       # left | center | right: where its pill sits along the line
max-length = 80                      # characters, 1 to 1000, of the line, cut of … beyond them

[plugins.blocks]
header = "pill"                      # rows | pill: the prompt's rows pinned, or a pill of the command line
header-while-running = "always"      # auto | always | never: the prompt rows while a command runs
dividers = true                      # true | false
failed-tint = true                   # true | false
spacing = true                       # true | false
background = "panel.bg"              # the theme's token of the pill's background, by its name
text = "text"                        # the theme's token of its text
border = "panel.border"              # the theme's token of its border, as "accent"
line = "panel.border"                # the theme's token of the line across the pane
hover = "button.hover.bg"            # the theme's token over its background under the pointer
font-size = 0                        # points, 0 to 200, of the terminal's font; 0 for its own size
font-weight = "regular"              # light | regular | medium | semibold | bold | heavy
padding-x = 8                        # points, 0 to 40, left and right of the text
padding-y = 1                        # points, 0 to 20, above and below it
align = "left"                       # left | center | right: where its pill sits along the line
max-length = 80                      # characters, 1 to 1000, of the line, cut of … beyond them

[plugins.quick-tips]
every = 7                            # days, 0 to 365, between two tips as Lokyr starts; 0 for every start

[plugins.links]
alphabet = "asdfghjklqwertyuiopzxcvbnm"   # the letters of the hints' labels, nearest first
hints = { tickets = { pattern = 'PROJ-\d+', url = "https://jira.example.com/browse/$0" } }   # your tracker's ticket numbers, each to its page

config_version

Platforms: macOS

The version of the file's format. Lokyr reads version 1, and refuses any other.

ValueDefault
11

The key is the only one at the top of the file, and the only one with an underscore: the keys of the sections are written with hyphens.

[font]

The font of the text: its family, its size and the faces that bold and italic text take.

A character that the font lacks, such as Japanese text, takes the font that macOS gives for it, as other apps take it: Hiragino for Japanese. A symbol takes the form that Unicode gives it:

family

Platforms: macOS

The font family, by its name, as Font Book shows it on macOS, such as "Menlo" or "CaskaydiaCove NFM".

size

Platforms: macOS

The size of the text, in points.

ValuesDefault
from 4 to 200, whole or not13

The size is in points, so that the text takes the same room on a Retina display, at twice the pixels, as on another.

style

Platforms: macOS

The face of the text that has no style, by the name that the font gives it, such as "SemiBold" or "Light".

bold-style, italic-style, bold-italic-style

Platforms: macOS

The faces of bold, italic and bold italic text, named as style names its face.

non-ascii-family

Platforms: macOS

The family of every character past ASCII, such as "Hiragino Sans" for Japanese text.

line-height, cell-width

Platforms: macOS

The height and the width of the grid's cells, as factors of the face's line height and of its characters' advance.

ValuesDefault
from 0.5 to 31

A factor below one makes a closer grid, and can make a cell smaller than the glyphs of the face, which then overlap their neighbours' cells, or are cut where the window ends; a factor above one leaves room around them.

ligatures

Platforms: macOS

Whether the glyphs that a font joins into ligatures, such as -> or !=, are joined.

ValuesDefault
true, falsetrue

builtin-box-drawing, builtin-powerline

Platforms: macOS

Whether Lokyr draws these characters itself, at the cell's size and to the pixel, rather than taking them from the font:

ValuesDefault
true, falsetrue

antialias

Platforms: macOS

Whether the edges of the glyphs are smoothed, as macOS draws text.

ValuesDefault
true, falsetrue

thin-strokes

Platforms: macOS

Where the text is drawn of thinner strokes: without the darkening that macOS adds to the glyphs as it smooths fonts, which makes light text on a dark background look heavier.

ValuesDefault
"never", "always", "retina", "dark", "retina-dark""never"

system-weight

Platforms: macOS

Whether the text takes the weight of the text of macOS's own apps, as Lokyr's tabs and panels do.

ValuesDefault
true, falsefalse

[text]

How the text's styles and colors are drawn.

bold, italic

Platforms: macOS

Whether bold text takes the font's bold face, and italic text its italic face.

ValuesDefault
true, falsetrue

ansi-colors

Platforms: macOS

Whether the colors that programs give the text and its background show.

ValuesDefault
true, falsetrue

bold-is-bright

Platforms: macOS

Whether bold text in one of the palette's first eight colors takes its bright color, of the eight after: bold red as bright red.

ValuesDefault
true, falsefalse

Platforms: macOS

Whether text that programs make blink, with the escape sequences SGR 5 and 6, blinks.

ValuesDefault
true, falsetrue

faint-opacity

Platforms: macOS

The opacity of faint text, which programs write dim with the escape sequence SGR 2, over its background.

ValuesDefault
from 0.1 to 10.5

[cursor]

The cursor that programs start with. Programs change its shape and its blinking, as vim does in insert mode, with the escape sequence DECSCUSR; CSI 0 SP q, which programs send to give the cursor back, and a reset bring these settings back.

shape

Platforms: macOS

The shape of the cursor.

ValuesDefault
"block", "bar", "underline", "hollow""block"

Programs can choose among the first three alone, as DECSCUSR has no hollow block.

Platforms: macOS

Whether the cursor blinks.

ValuesDefault
true, falsetrue

thickness

Platforms: macOS

The width of a bar and the height of an underline, in points, so that they keep their look on a Retina display.

ValuesDefault
from 0.5 to 20the font's underline thickness

A hollow block's edges always take the font's underline thickness.

length

Platforms: macOS

The height of a bar and the width of an underline, as a share of the cell, centered in it: 0.6 draws a bar of six tenths of the cell's height, with the rest above and below it, and an underline of six tenths of the cell's width, under the middle of the character; an underline under a wide character takes the share of its two cells. thickness stays the other side, a bar's width and an underline's height.

ValuesDefault
from 0.1 to 11, the whole cell

A block and a hollow block always fill the cell. The shapes that programs ask for, as vim's bar in insert mode, take it too.

Platforms: macOS

How long the cursor stays on, then off, as it blinks without smooth-blink, in milliseconds.

ValuesDefault
from 100 to 5000500

Text that blinks, as the escape sequence SGR 5 makes it, takes the same interval.

Platforms: macOS

How long the cursor blinks after the last key or output, in seconds; then it stays on.

ValuesDefault
from 0 to 3600; 0 never stops15

A cursor that blinks for ever wakes Lokyr no more than one that stops, as the window server blinks it; the window server itself shows the window again at each change of the cursor's opacity, through each frame of a fade with smooth-blink, which a blinking that stops spares it.

Platforms: macOS

Whether the cursor fades out and in as it blinks, rather than switching, and how: by one of five presets, or by the keys that follow.

ValuesDefault
"off", "breathing", "linear", "fast", "slow", "subtle", "custom""off"

fade-in, fade-out

Platforms: macOS

With smooth-blink = "custom", how long the cursor fades in, and out, in milliseconds.

ValuesDefault
from 0 to 10000900

A fade of 0 switches. A cycle of fades and holds shorter than 50 ms does not blink.

fade-in-curve, fade-out-curve

Platforms: macOS

With smooth-blink = "custom", how each fade goes: at a constant rate, slow at its start, slow at its end, or both.

ValuesDefault
"linear", "ease-in", "ease-out", "ease-in-out""ease-in-out"

visible, hidden

Platforms: macOS

With smooth-blink = "custom", how long the cursor holds visible, after it fades in, and hidden, after it fades out, in milliseconds.

ValuesDefault
from 0 to 10000500

movement

Platforms: macOS

How the cursor moves to a new cell: at once, or slid there.

ValueMeaning
"instant"At once
"snappy"Slid there in 80 ms, slowing as it comes

Default: "instant".

guide

Platforms: macOS

Whether a band across the cursor's row shows where the cursor is, the cursor guide, under the text.

ValuesDefault
true, falsefalse

hdr

Platforms: macOS

Whether the cursor shows brighter than white, on a display of extended dynamic range, as the MacBook Pro's.

ValuesDefault
true, falsefalse

hdr-brightness

Platforms: macOS

How much brighter than white the cursor shows with hdr, as a multiple of white's light.

ValuesDefault
from 1 to 4, whole or not2

click-to-move

Platforms: macOS · Since 1.3

Whether a click in your shell's command line moves its cursor there, as in a text field, and a key that deletes or types over a selection of the command line takes its place.

ValuesDefault
true, falsetrue

[window]

columns, rows

Platforms: macOS

The size of a new window, in columns and rows of the font's cells.

ValuesDefault
whole numbers, from 1 to 1000100 columns, 30 rows

remember-frame

Platforms: macOS

Whether the first window, as Lokyr starts, opens where the last window that you moved or resized was, of its size.

ValuesDefault
true, falsetrue

close-on-exit

Platforms: macOS

What a window does when its program ends, such as the shell after exit.

ValuesDefault
"clean", "always", "never""clean"

The login shell's status is its own: on macOS, login, which starts it, hides it, and the shell tells it to Lokyr as it ends. A status past 128 tells the signal that ended it, as shells give it.

Closing the last window leaves Lokyr open, unless quit-after-last-window-closed says otherwise.

start-directory

Platforms: macOS

The folder that the first window's shell starts in, as Lokyr starts.

ValuesDefault
"home", "last", or a path from / or ~"home"

new-directory

Platforms: macOS

The folder that a new window's shell starts in, as ⌘N opens one, and a new tab's, a split's, a floating pane's or a popup's, of a popup that names no folder of its own · Since 1.5.

ValuesDefault
"inherit", "home", or a path from / or ~"inherit"

padding-x, padding-y

Platforms: macOS

The room between the grid and the window's edges, in points: padding-x at the left and the right, padding-y at the top and the bottom.

ValuesDefault
from 0 to 100, whole or not4

gutter

Platforms: macOS

Whether each pane shows a gutter at the left of its cells, with a mark on the prompt of each command that ran: a thin bar the height of the prompt's row, faint gray for a command that succeeded, red for one that failed, the accent's color for one that still runs.

ValuesDefault
true, falsetrue

scrollbar

Platforms: macOS

When each pane shows its scroll bar, at its right edge: a knob whose length and place tell how much of the scrollback and the screen the view shows, and where.

ValueMeaning
"system"As macOS shows its own, as Show scroll bars in its Appearance settings says: as the view moves and as the pointer comes over it, or always, as it does with a mouse, or as you chose it
"always"Always
"never"Never

Default: "system".

smooth-scroll

Platforms: macOS · Since 1.4

Whether a trackpad, a mouse's wheel and the scroll bar scroll the panes by pixels, rather than by whole rows.

ValuesDefault
true, falsefalse

background-opacity

Platforms: macOS

The opacity of the window's background, from 0, clear, to 1, opaque: below 1, what is behind the window shows through it.

ValuesDefault
from 0 to 11

background-blur

Platforms: macOS

The radius of the blur of what shows through the background, in points.

ValuesDefault
from 0 to 100, whole or not0, no blur

title-size

Platforms: macOS

Whether the window's title ends with the size of its grid, in columns and rows, as lokyr — zsh — 120×30.

ValuesDefault
true, falsetrue

title-shortcut

Platforms: macOS

Whether the titlebar shows, at its right, the keys that bring the window forward, as ⌥⌘1; in a titlebar of tabs, after the window's buttons, as the tab bar shows them.

ValuesDefault
true, falsetrue

opaque-titlebar

Platforms: macOS

Whether the titlebar stays opaque over a translucent window, in the default background's color.

ValuesDefault
true, falsefalse

[interface]

The font of Lokyr's own interface, as its tab bar and its panels, apart from the terminal's text, which takes [font]'s.

font-family

Platforms: macOS

The family of the interface's text, by its name, as Font Book shows it on macOS, such as "Helvetica Neue".

font-size

Platforms: macOS

The size of the interface's text, in points.

ValuesDefault
from 4 to 200, whole or not13

The text is measured at its size of points, as the system's font draws each size of its own, and the display's scale enlarges it. It applies as font-family does.

[slots]

The plugins whose views fill the parts of the window that one plugin's view fills: the tab bar, and the panes' headers. The other parts, as the status bar, show the views of every plugin that fills them, in the plugins' order.

tab-bar

Platforms: macOS

The plugin whose tab bar the windows show, by its name, as "lokyr/tabs".

pane-header

Platforms: macOS

The plugin whose headers the panes show across their tops, by its name, as "lokyr/command-header".

[terminal]

What programs are told of the terminal, and how it counts and keeps their text. The widths must match how the programs count characters, or their lines go wrong; the defaults suit most of them.

term

Platforms: macOS

The TERM that programs see, which tells them what the terminal can do: letters, digits, ., _, + and -, 64 at most.

ValuesDefault
a terminfo name, as "xterm-256color", "xterm-lokyr", "xterm", "vt220""xterm-256color"

unicode-widths

Platforms: macOS

Which width tables the terminal counts characters by, to place them in their cells.

ValuesDefault
"current", "8""current"

ambiguous-width

Platforms: macOS

The cells of an East Asian Ambiguous character, as α, → and ○.

ValuesDefault
1, 21

normalization

Platforms: macOS

The normal form that printed text takes, which changes how a character and its accents are kept, and what a selection copies of them.

ValuesDefault
"none", "nfc", "nfd", "hfs+""none"

shell-integration

Platforms: macOS

Whether your shell loads Lokyr's integration, which reports where each prompt starts, where your command starts and ends, its exit status, and the folder that it works in.

ValuesDefault
true, falsetrue

image-memory

Platforms: macOS

The memory, in MiB, that the inline images of a pane take at most: the pictures that programs show in the terminal, as imgcat sends them through iTerm2's protocol and as kitten icat, chafa, timg and file managers' previews send them through kitty's graphics protocol, the images sent in the output itself.

ValuesDefault
from 0 to 1024, whole or not64

[scrollback]

The scrollback holds the rows that went up past the screen's top. The wheel and the trackpad scroll through it, and with Shift held they scroll it even when a program takes the mouse.

scroll-on-output

Platforms: macOS

Whether a program's output brings a view scrolled up into the scrollback back down to the screen.

ValuesDefault
true, falsefalse

limit

Platforms: macOS

The memory that a window's scrollback takes, its screen's included, in MiB, whole or not.

ValuesDefault
from 1 to 1638410

budget

Platforms: macOS

The memory that the scrollbacks of all the windows share, in MiB, whole or not.

ValuesDefault
from 1 to 16384100

[keyboard]

option-as-meta

Platforms: macOS

Which Option keys act as Meta: they send an escape before the key, rather than typing the characters that the keyboard layout gives them.

ValuesDefault
"none", "left", "right", "both""none"

[clipboard]

What programs do with the clipboard. A program writes to it with the escape sequence OSC 52, as tmux and Neovim copy over ssh: the write always reaches it, up to 1 MiB of text, while the primary selection, which macOS lacks, takes nothing.

read

Platforms: macOS

Whether a program can read the clipboard, with OSC 52.

ValuesDefault
"never", "ask""never"

confirm-paste

Platforms: macOS

When a paste with line breaks asks you first: a program that does not ask for bracketed paste, as cat or a plain sh, takes each line break as Return, which can run a command.

ValuesDefault
"auto", "always", "never""auto"

copy-on-select

Platforms: macOS

Whether a selection that you make with the mouse copies its text to the clipboard as you let go of the button, as a double click on a word does too.

ValuesDefault
true, falsefalse

What a link does as you open it, with cmd+click, or as a plugin opens one. A folder always opens in the Finder, without asking. A file that would run rather than open, as a program, an application, an installer or a script that macOS would run in a terminal, never runs: it shows in the Finder, selected. A symbolic link and a Finder alias count as the file that they lead to, and a file counts as the application that would open it, which a file's own "Open With" can choose. The section also names the engine that searches the web for the selection.

urls

Platforms: macOS

What a URL does: one of http, https or mailto, as the text writes it, or as a program's link leads to it, whose text can say something else.

ValuesDefault
"ask", "open""ask"

files

Platforms: macOS

What a file does: a path, or a file URL.

ValuesDefault
"ask", "open", "reveal""ask"

search-engine

Platforms: macOS

The engine of Search the Web, which the pane's context menu has for the selection of one line.

ValuesDefault
"google", "duckduckgo", "bing", "ecosia", "kagi", "startpage", or a URL from https:// or http:// that holds {query}"google"

editor

Platforms: macOS

The editor that a path's line opens in, as compilers, tests and AI agents print it, src/main.rs:42, src/main.rs:42:7, src/app.ts(42,7) or src/main.rs#L42, with cmd+click.

ValuesDefault
"system", "vscode", "vscode-insiders", "cursor", "windsurf", "zed", "sublime", "textmate", or an address of your own that holds {path}"system"

[bell]

What a program's bell does, the character BEL that it prints, as printf '\a', or as the agents that run in the terminal ring it when they wait for you. Each kind takes its own key; they apply as you save the file. Bells that come within a fifth of a second of the last one in the window do nothing more.

sound

Platforms: macOS

Whether the bell plays the system's alert sound, the one that System Settings chooses on macOS, in Sound.

ValuesDefault
true, falsefalse

flash

Platforms: macOS

Whether the window flashes, for a tenth of a second, when its bell rings while it has the focus.

ValuesDefault
true, falsetrue

bounce

Platforms: macOS

Whether the Dock's icon bounces once when the bell of a window without the focus rings, while Lokyr is not the active application.

ValuesDefault
true, falsetrue

mark-title

Platforms: macOS

Whether a window without the focus whose bell rang shows 🔔 before its title, until it takes the focus. Where the tab bar is in the titlebar, or a single tab's title takes its place, the shown tab shows the bell's mark instead.

ValuesDefault
true, falsetrue

[notifications]

What Lokyr tells you of its own in a notification of the system's, while the window has no focus. A notification within two seconds of the last one of the window shows nothing, and a click on one brings forward the pane that told it, with its tab and its window.

long-command

Platforms: macOS

How long a command runs, at least, in seconds, for a notification as it ends while its window has no focus, which tells the command, whether it succeeded or its exit status, and how long it ran.

ValuesDefault
from 1 to 86400; 0 for none10

[agents]

The AI agents that run in your panes, as Claude Code, Codex, Gemini CLI or Aider. Lokyr knows an agent by its program in the pane's foreground, and tells its state on its tab, of what the agent does, with no setup of its own:

A tab of several agents shows the one that waits before one at work, and one at work before one done. Window › Go to Next Agent, alt+cmd+a, goes to the next tab whose agent waits for you, or, of none, is done, in every window; Window › Show Agents…, shift+alt+cmd+a, lists them all in the palette, the most urgent first. An agent that tells nothing of its own, of no notification nor bell, waits without a dot: some agents tell their requests to the terminals that they know alone, and an option of theirs turns their notifications or their bell on, as Claude Code's preferredNotifChannel.

Claude Code's exact state: Lokyr › Install Claude Code Integration… adds hooks to Claude Code's settings, settings.json of ~/.claude and of each ~/.claude-* folder of Claude Code's beside it, as a CLAUDE_CONFIG_DIR makes, asking of each in turn and keeping a copy of the file as it was before Lokyr's hooks as settings.json.lokyr-backup, of the file's permissions. Claude Code then tells Lokyr when you submit a request, when it asks for a permission, when it ends its answer, and when an error ends it, a red mark of its own: its state no longer guesses from its output and its quiet, its bell and its other notifications no longer tell that it waits, and done-after no longer applies to it; but a key while it works or asks, as Escape that interrupts it or refuses a permission, which Claude Code tells no hook of, lets its output and its quiet tell its state again until its next hook. The hooks write nothing in another terminal. To take them away, remove the groups whose commands hold lokyr-agent: from the file's hooks.

programs

Platforms: macOS

The names of the agents' programs, as the processes in a pane's foreground go by them.

ValuesDefault
a list of names["claude", "codex", "gemini", "opencode", "aider", "cursor-agent", "copilot", "amp", "goose", "qwen", "crush", "droid"]

done-after

Platforms: macOS

How long an agent shows no work, in seconds, before it is done, once you asked it something.

ValuesDefault
from 0.5 to 603

notify

Platforms: macOS

Whether an agent tells, in a notification of the system's, that it waits for you or is done, while its window has no focus.

ValuesDefault
true, falsetrue

dock-badge

Platforms: macOS

Whether the Dock's icon counts the agents that wait for you, in every window, in a badge.

ValuesDefault
true, falsetrue

[sessions]

The sessions' switcher, ⌃⌘S, lists the sessions open, then folders: those that folders names, and the folders where your panes' shells worked last. Choosing a folder opens a session there, or shows the one opened there already.

folders

Platforms: macOS · Since 1.5

The folders that the sessions' switcher lists, ⌃⌘S or Window › Sessions › Switch Session…, beside the sessions open and the folders where your panes' shells worked last.

ValuesDefault
a list of paths[]

[theme]

The colors of the terminal and of Lokyr's own interface: a theme for the light appearance and one for the dark one, which follow the system's appearance, or the one that View › Appearance chooses, and switch at once.

A theme is a built-in one, Lokyr Light or Lokyr Dark, one of the themes that Lokyr holds, or a file of the themes folder beside the config file, ~/.config/lokyr/themes/, named by its file without its extension: Nightfall is themes/Nightfall.toml, in Lokyr's own format below, or themes/Nightfall.itermcolors, the format of the largest collections of terminal themes, which Lokyr reads as it is. A file of the folder of a held or built-in theme's name takes its place, and a .toml one an .itermcolors one of its name. View › Open Themes Folder opens the folder in the Finder, making it first if it is not there; View › New Theme from Current… makes a new theme there of every color of the one in force, and New… on the settings window's Themes page one of Lokyr's own values of its appearance, of every key, each used and opened in your editor.

To make a theme, Making a theme tells every key and color of the format, of a full example.

Lokyr holds 278 themes, those of a permissive license of the largest collection of .itermcolors themes, by their names there, as Dracula, Catppuccin Mocha, Nord, Rose Pine Dawn or TokyoNight Day, and <name> (Light) and <name> (Dark) of those of both appearances: Lokyr.app/Contents/Resources/licenses/themes/README.md lists them, with their licenses and sources, and their files are in Lokyr.app/Contents/Resources/themes, which a theme of the folder can extend.

View › Choose Theme…, the command palette's theme picker, lists the themes of the appearance in force, shows each as you move through them, and names the one you choose in [theme], light or dark as the appearance is.

A theme's file goes into the folder by hand, or as Lokyr imports it: View › Import Themes…, or Import… on the settings window's Themes page, copies the .itermcolors and .toml files that you choose, several at once, asking once whether to replace those of a name there already; or, on macOS, a double click on an .itermcolors file in the Finder, or a theme's file, .itermcolors or .toml, dropped on Lokyr's icon in the Dock, asks to install it. Install copies it into the folder, in place of a file of its name; Install and Use names it in [theme] too, light or dark by its variant, both for a file of both appearances; neither converts it. The variant is the one that the file says: an .itermcolors file of (Light) and (Dark) keys is of both, a .toml one of its variant, and any other is light if its background is lighter than its text, and dark otherwise. A theme of the appearance not in force changes nothing that shows until Lokyr takes its appearance: the question tells it, and its checkbox switches Lokyr to that appearance, as View › Appearance does, which sets appearance. Where another app opens .itermcolors files at a double click, Lokyr is in the Finder's Open With menu.

# ~/.config/lokyr/themes/Nightfall.toml
[theme]
name = "Nightfall"                   # what the theme calls itself; the file's name names it in the config
author = "Ada"                       # author, license and source tell people, and change nothing
license = "MIT"
variant = "dark"                     # light | dark; of its colors when left out
extends = "Lokyr Dark"               # a theme whose colors this one's override

[terminal]
background = "#1e1e20"               # the text's background
foreground = "#e6e6e6"               # the text
palette = ["#45454b", "#f25d62", "#58c672", "#e3bd4c", "#5aa2f7", "#c983de", "#4cc4cf", "#c4c4ca",
           "#75757d", "#ff8488", "#7edb94", "#f5d47a", "#86bcff", "#dca3ec", "#7adce4", "#f4f4f6"]
cursor = "#e6e6e6"                   # the cursor; the text's color when left out
selection = "#34445f"                # the selection's background
bold = "#ffffff"                     # bold text's color; its own when left out

[search]
match = "#ffd60a4d"                  # a match of the find bar, #rrggbbaa of an opacity
current = "#ff7a0080"                # the current match

[tabs]                               # the tab bar's colors
bar.bg = "#18181a"
active = { bg = "#1e1e20", fg = "#ffffff" }

[interface]                          # Lokyr's own colors, by their names
"panel.bg" = "#252528"

light

Platforms: macOS

The light appearance's theme, by its name.

ValuesDefault
the name of a theme"Lokyr Light"

dark

Platforms: macOS

The dark appearance's theme, by its name.

ValuesDefault
the name of a theme"Lokyr Dark"

minimum-contrast

Platforms: macOS

The least contrast of the terminal's text to its background, as the ratio of WCAG's guidelines for the web: a text of less moves toward white or black, whichever reads better, as little as gives it.

ValuesDefault
from 1 to 21, whole or not1

[app]

icon

Platforms: macOS

The variant of Lokyr's icon that shows in the Dock and the app switcher while Lokyr runs, and in the Dock after it quits, by its name.

ValuesDefault
"jormungandr", "jormungandr-sticker", "laguz""jormungandr"

language

Platforms: macOS

The language of what Lokyr shows: its menus, the titles of its commands, and the line of a window whose program ended.

ValuesDefault
"system", "en", "it""system"

appearance

Platforms: macOS

Whether Lokyr is light or dark: the theme's colors, and Lokyr's own titlebar, menus and alerts.

ValuesDefault
"system", "light", "dark""system"

quit-after-last-window-closed

Platforms: macOS

Whether Lokyr quits as you close its last window.

ValuesDefault
true, falsefalse

restore-windows

Platforms: macOS

Whether the windows that were open as you quit Lokyr open again as it starts: each where it was, of its size, with its tabs, their splits, and each pane in its folder.

ValuesDefault
"system", "always", "never""system"

restore-scrollback

Platforms: macOS · Since 1.5

Whether the panes that open again with your windows show what they showed as you quit: their text, its colors and styles, its links, and the commands that your shell marked.

ValuesDefault
true, falsefalse

[updates]

Lokyr's own updates: it checks for a newer version, which it shows in a window with what is new, to install now or as Lokyr quits, or to skip.

check

Platforms: macOS

Whether Lokyr checks for a newer version now and then, once a day at most, in the background.

ValuesDefault
true, falsetrue

[debug]

What Lokyr shows of its own work, to see how it does: for now, a panel of its performance.

performance-overlay

Platforms: macOS

Whether a panel over each window shows Lokyr's performance, a line each: the frames that the window shows a second; the CPU's time of its frames, their median and the longest over the last second; how long a frame waited for the display to give back an image to draw into, which macOS keeps two of; the GPU's, their mean and the longest, of every window's frames; Lokyr's wakeups a second, and those that brought the processor out of idle; its memory, as macOS counts it against Lokyr; and the output of its programs, in MB a second. The first second shows Measuring…, as does a window's that opens while the panel shows.

ValuesDefault
true, falsefalse

performance-corner

Platforms: macOS

The corner of the window that the panel takes, under the titlebar at the top.

ValuesDefault
"top-right", "top-left", "bottom-right", "bottom-left""top-right"

[keys]

The bindings of keys, of the wheel and of the mouse's click, to Lokyr's commands, over the defaults. A key that a binding takes runs its command, and never reaches the program; the others go to the program, as they always do, but in the copy mode, where they go nowhere.

Bindings

Platforms: macOS

Each entry of the section is a binding: its name is the keys, in quotes, and its value the command that they run.

[keys]
"cmd+shift+n" = "window.new"
"ctrl+a>n" = { command = "window.new", when = "!alternate-screen" }
"cmd+q" = false

Commands without keys of their own, for your bindings:

For the keys of a shell's line editing, as macOS's text fields have them:

[keys]
"alt+backspace" = { command = "pane.send-text", args = { text = "\u0017" } }  # the word before: Control-W
"cmd+backspace" = { command = "pane.send-text", args = { text = "\u0015" } }  # to the line's start: Control-U
"cmd+delete" = { command = "pane.send-text", args = { text = "\u000b" } }     # to the line's end: Control-K
"alt+delete" = { command = "pane.send-text", args = { text = "\u001bd" } }    # the word after: Esc d
"alt+left" = { command = "pane.send-text", args = { text = "\u001bb" } }      # a word back: Esc b
"alt+right" = { command = "pane.send-text", args = { text = "\u001bf" } }     # a word on: Esc f
"cmd+left" = { command = "pane.send-text", args = { text = "\u0001" } }       # the line's start: Control-A
"cmd+right" = { command = "pane.send-text", args = { text = "\u0005" } }      # the line's end: Control-E

The defaults, of the built-in plugin keymap-macos, the shortcuts of macOS's apps:

KeysCommandWhat it does
cmd+,app.settingsOpens the config file in your text editor, made first of every key commented out when there is none, as The file says
cmd+nwindow.newOpens a window
cmd+w, cmd+shift+wwindow.closeCloses the window, of all its tabs, cmd+w closing the tab instead while the tabs' plugin runs; while a program other than a shell runs in it, as vim or ssh, it asks you first, as closing ends the program: a job that the shell runs counts too, stopped with Control-Z or in the background, and a program that started a shell, as vim's :sh. tmux and screen, whose sessions go on, do not ask, nor a shell at its prompt, nor one that a shell started
cmd+shift+iwindow.set-titleAsks for a title of the window's, which takes the place of the program's and of the window's own until you empty it; the grid's size stays after it, as title-size says
cmd+`window.nextBrings forward your next window of the session that shows, in the order that they opened, the settings window too and not the quick terminal, the first after the last: the key left of 1 by its place, as macOS's, ⌘\ on the Italian layout; Window › Cycle Through Windows runs it too
cmd+shift+`window.previousBrings forward the previous window, the last before the first
ctrl+cmd+scommand-palette.sessionsOpens the sessions' switcher in the palette: the sessions open, the one that shows marked Current, then the folders of [sessions] folders and those where your shells worked last; Return switches to the session, or opens one in the folder, named after it, or switches to the one opened there already; Window › Sessions › Switch Session… runs it too · Since 1.5
ctrl+cmd+lwindow.switch-to-last-sessionSwitches to the session that you used before the one that shows: its windows show where they were, the one that you used last in front, and the others hide, their programs running; Window › Sessions › Switch to Last Session runs it too · Since 1.5
alt+cmd+iwindow.broadcast-to-tabSends what you type into the pane with the keyboard to every pane of its tab too, each as its own program takes it, a ring round each; again, to that pane alone · Since 1.5
shift+alt+cmd+iwindow.broadcast-to-windowSends what you type into the pane with the keyboard to every pane of the window too, of all its tabs; again, to that pane alone · Since 1.5
shift+alt+cmd+fpane.new-floatingFloats a new pane over the tab's panes, its shell in the folder of the pane with the keyboard · Since 1.5
alt+cmd+fpane.toggle-floatingShows the tab's floating panes, or hides them; of a tab of none, floats a new one · Since 1.5
alt+cmd+1, alt+cmd+2, alt+cmd+3, alt+cmd+4, alt+cmd+5, alt+cmd+6, alt+cmd+7, alt+cmd+8, alt+cmd+9window.gotoBrings forward the window of that number, index, from 1: each window takes, as it opens, the lowest number that no other window of its session has, which its titlebar shows, as title-shortcut says; the quick terminal has none. Bound by you, as { command = "window.goto", args = { index = 10 } }, it reaches past the ninth
shift+alt+cmd+acommand-palette.agentsOpens the palette's list of the AI agents of every window, the most urgent first, of each one's message or tab, its state and how long it has been in it; Return brings the chosen one's pane forward; Window › Show Agents… runs it too
alt+cmd+awindow.next-agentBrings forward the next tab, in any window, whose AI agent waits for you; or, of none, whose agent is done; or, of none, at work, as [agents] tells; Window › Go to Next Agent runs it too
cmd+qapp.quitQuits Lokyr, asking you first while programs other than shells run in its windows; so does Quit in the Dock, and a logout waits for your answer
cmd+cpane.copyCopies the selection
cmd+vpane.pastePastes the clipboard's text, asking you first when confirm-paste says so
cmd+apane.select-allSelects the scrollback and the screen, to the last row that shows something
shift+cmd+apane.select-outputSelects the output of the last command that ended, of the commands that the shell marks; Edit › Select Command Output, and the pane's context menu of the command under the pointer, run it too
shift+alt+cmd+cpane.copy-outputCopies the output of the last command that ended, its wrapped rows joined; Edit › Copy Command Output, and the context menu of the command under the pointer, run it too
cmd+kpane.clearClears the scrollback and the screen but the prompt, which goes to the top; on the screen of a program such as vim, it does nothing
cmd+=, cmd++font.biggerMakes the text a point larger, in every window, up to 200
cmd+-font.smallerMakes the text a point smaller, down to 4
cmd+0font.resetGives the text the size of size again
alt+cmd+;window.toggle-cursor-guideShows the cursor guide, a band across the cursor's row, or hides it, in every window, as View › Show Cursor Guide does, until guide changes
cmd+uwindow.toggle-opacityShows the window in front opaque, of a translucent background-opacity, or translucent again, as View › Use Transparency does · Since 1.3
cmd+shift+elinks.hintsLabels what the pane shows that you may pick, as View › Show Hints does: URLs, paths, git's hashes, IP addresses and your hints · Since 1.3
shift+cmd+uppane.scroll-line-upScrolls the view a line up
shift+cmd+downpane.scroll-line-downScrolls the view a line down
cmd+uppane.prompt-previousScrolls the view to the prompt above its top, of the commands that the shell marks, as shell-integration has it, the prompt at the view's top
cmd+downpane.prompt-nextScrolls the view to the prompt below its top, or to the screen past the last
cmd+upblocks.select-previousWhile Blocks runs, in place of pane.prompt-previous: jumps to the prompt above the view's top and selects its block, which a tint shows; with a block selected, selects the one before · Since 1.4
cmd+downblocks.select-nextWhile Blocks runs, in place of pane.prompt-next: jumps to the prompt below the view's top and selects its block; with a block selected, selects the one after, or, past the last, none, back to the screen · Since 1.4
upblocks.select-previousWhile a block is selected: selects the block before, the view at its top · Since 1.4
downblocks.select-nextWhile a block is selected: selects the block after, or, past the last, none, back to the screen · Since 1.4
escapeblocks.deselectWhile a block is selected: selects none, as a key typed or a click in the pane does · Since 1.4
cmd+pageup, shift+pageuppane.scroll-page-upScrolls the view a page up
cmd+pagedown, shift+pagedownpane.scroll-page-downScrolls the view a page down
cmd+homepane.scroll-topScrolls the view to the scrollback's first row
cmd+endpane.scroll-bottomScrolls the view back to the screen
cmd+clicklinks.openOpens what you click: the link that the program gave the text, or the URL or the path that the text holds there. A URL is of http, https, mailto or file; a path starts from /, from ~, or from the directory of the program in the foreground, as ls lists files, and compilers and grep -n write a line after it, as src/main.rs:42:7; between quotes, a path that is there can have spaces, as git status and Python write one, and a URL ends at a space. A URL or a file asks you first, as [links] says; a folder opens in the Finder; a program, an application or a script that would run shows in the Finder, selected, and does not run. While you hold Command, the link under the pointer that would open is underlined, and the pointer over it is the pointing hand, as you move over it or press Command with the pointer still, and goes as the program changes its text, or the view scrolls it from under the pointer
cmd+fsearch.openOpens the find bar at the top right of the pane, of your last search's text, selected, its field taking the keys, as [plugins.search] tells
cmd+gsearch.nextMakes the next match of the find bar's search the current one, the one above, the last after the first, and brings it into the view; it opens the bar while it is closed
cmd+shift+gsearch.previousMakes the previous match the current one, the one below, the first after the last
cmd+shift+fsearch.find-allOpens Find in All Tabs at the window's top: as you type, it searches every pane of the session's windows, of the find bar's options, which its toggles share, each match a row of its line and its tab's title, 1000 at most; Return brings the match's pane forward, the match selected, and opens the find bar there of the text, the match its current one; it closes the find bar as it opens, and the find bar's opening closes it; Edit › Find in All Tabs… runs it too · Since 1.6
cmd+shift+pcommand-palette.openOpens the command palette, whose field ranks the commands as you type
up, downcommand-palette.moveIn the command palette, while its field has the keys: moves the selection up or down the list
up, downsearch.moveIn Find in All Tabs, while its field has the keys: moves the selection up or down the list · Since 1.6
tab, shift+tablinks.hints-actionWhile the hints show, as their field has the keys: moves what a pick does through open, copy, type and select, and back · Since 1.3
cmd+shift+ccopy-mode.toggleStarts the copy mode in the pane, or ends it, as Edit › Copy Mode does: a cursor of its own, at the terminal's, or at the view's last row while the view is up in the scrollback, which the keys below move and select with, through the scrollback and the screen, without the mouse; a badge at the pane's bottom right tells the mode. While it runs, the keys that no binding takes go nowhere, rather than to the program, and ⌘C copies its selection, as always. It ends as another pane of the tab takes the keyboard, as a program such as vim shows its own screen, where it does not start, and as a resize lays the rows out anew; a click on the badge ends it too
h, left, l, right, k, up, j, downcopy-mode.moveIn the copy mode: moves its cursor a cell left or right, or a row up or down, to left, right, up or down, as far as the scrollback's first row and the screen's last; the view follows the cursor
w, b, e, shift+w, shift+b, shift+ecopy-mode.moveTo the next word's start, word-next, the start of the word before, word-previous, or the word's end, word-end: a word is of letters, digits and _, or of punctuation; with Shift, of anything but blanks, big-word-next, big-word-previous and big-word-end. A line's end parts two words, and a row that wraps does not
home, shift+6, shift+4, endcopy-mode.moveTo the line's start, line-start, its first character but a blank, line-first, as ^ types it on the US layout, or its last but a blank, line-end, as $: of the whole line that the program wrote, across the rows that it wraps over; 0 goes to its start too, before a count
g>g, shift+gcopy-mode.moveTo the scrollback's first row, top, or to the last row that shows something, or to the terminal's cursor's, which is later, bottom
shift+h, shift+m, shift+lcopy-mode.moveTo the view's top row, view-top, its middle one, view-middle, or its bottom one, view-bottom
ctrl+u, ctrl+d, ctrl+b, pageup, ctrl+f, pagedowncopy-mode.moveHalf a page up or down, half-page-up and half-page-down, or a page, page-up and page-down, the view scrolling with the cursor
shift+[, shift+]copy-mode.moveTo the blank line before the paragraph, paragraph-previous, as { types it on the US layout, or after it, paragraph-next, as }
0, 1, 2, 3, 4, 5, 6, 7, 8, 9copy-mode.countA count of the next move, its digit after those before, as 12j moves 12 rows down, which the badge shows until the move
v, shift+v, ctrl+vcopy-mode.selectStarts a selection at the cursor, of the cells in reading order, cells, of whole lines, lines, or of a block of columns, block, which then goes from there to the cursor as it moves; the same key takes it away, and another changes its kind
o, y, enter, shift+y, escape, q, ctrl+ccopy-mode.actIts action: o swaps the selection's ends, swap; y and enter copy the selection, or the cursor's line without one, and end the mode, the selection staying, copy; shift+y copies the cursor's line and ends, copy-line; escape takes the count away, or else the selection, or else ends, back; q and ctrl+c end, the selection taken away, exit. A line's copy leaves the blanks at its end out
cmd+ttabs.newOpens a tab in the window, after its others, which shows it; its shell starts in the folder of the pane that has the keyboard, as new-directory says
cmd+shift+ttabs.reopenBrings back the tab that you closed last, at its place, as you left it, within reopen-seconds of its close; again, the one before · Since 1.3
cmd+wtabs.closeCloses the tab, or its pane while the tab has splits or floating panes, hidden ones too; while a program other than a shell runs there, it asks you first, as closing the window does; the window's last tab closes the window, which cmd+shift+w closes whole
cmd+shift+]tabs.nextShows the next tab, the first after the last
cmd+shift+[tabs.prevShows the previous tab, the last before the first
ctrl+tabtabs.switchShows the tab that you used before, and, as you press Tab again with Control held, the one before that; the tab that shows as you release Control is the one used last; or the next tab, as control-tab says
ctrl+shift+tabtabs.switch-backThe other way: the tab used longest ago, then the one used after it; or the previous tab
cmd+1, cmd+2, cmd+3, cmd+4, cmd+5, cmd+6, cmd+7, cmd+8, cmd+9tabs.gotoShows the tab of that number, index, from 1 at the left; a number of no tab does nothing
cmd+shift+left, cmd+shift+righttabs.moveMoves the tab a place to the left or to the right, delta of -1 or 1, as far as the bar's ends
cmd+d, cmd+shift+dsplits.splitSplits the pane, direction right or down: the new pane, beside it or below it, takes the keyboard
alt+cmd+left, alt+cmd+right, alt+cmd+up, alt+cmd+downsplits.focusGives the keyboard to the pane beside, direction left, right, up or down: the nearest, of the most room along the side, the first of a tie; none at the tab's edge, nor while a pane is zoomed
cmd+]splits.focus-nextGives the keyboard to the tab's next pane, the first after the last
cmd+[splits.focus-prevGives the keyboard to the tab's previous pane, the last before the first
ctrl+cmd+left, ctrl+cmd+right, ctrl+cmd+up, ctrl+cmd+downsplits.resizeMoves a divider of the pane a cell, cells of 1, towards direction: the one on its right, or its bottom, where it has one, the other otherwise
cmd+shift+entersplits.zoom-toggleHas the pane take the tab's whole room, or gives the others theirs back

[triggers.<name>]

Platforms: macOS · Since 1.7

Patterns of the programs' output that Lokyr looks for in each line as it completes, each a table of a name of your choice, [triggers.<name>], of a regex, pattern, and of what a match does, action.

# A compiler's errors, highlighted.
[triggers.errors]
pattern = 'error(\[E\d+\])?:'
action = "highlight"

pattern

Platforms: macOS · Since 1.7

The regex that each line of the programs' output is matched against, as it completes.

ValuesDefault
a regex, of 1 to 256 charactersnone: every trigger has one

action

Platforms: macOS · Since 1.7

What a match does.

ValuesDefault
highlight, notify, mark, commandnone: every trigger has one

case

Platforms: macOS · Since 1.7

Whether case counts in the pattern.

ValuesDefault
smart, sensitive, insensitivesmart

enabled

Platforms: macOS · Since 1.7

Whether the trigger matches.

ValuesDefault
true, falsetrue

color

Platforms: macOS · Since 1.7

Of action = "highlight": the color that the match's text shows under.

ValuesDefault
a theme's token, as "accent" or "search.match", or "#rrggbb""trigger.highlight"

title

Platforms: macOS · Since 1.7

Of action = "notify": the notification's title, its text the matched line.

ValuesDefault
a text, of 256 characters at most, $1 to $9 the match's groups, $$ a $the trigger's name

command

Platforms: macOS · Since 1.7

Of action = "command": the command that a match runs, as a key bound to it would, of its args.

ValuesDefault
a command's name, namespace.action, as the palette lists themnone: a trigger of command has one

args

Platforms: macOS · Since 1.7

Of action = "command": the command's arguments, as a key's binding has them.

ValuesDefault
a table of texts, numbers and booleans, as { text = "y\r" }none

[plugins.<namespace>]

Platforms: macOS

A plugin's own keys, in a section of its namespace: the plugin's name after its owner, as [plugins.tabs] of lokyr/tabs. Each plugin tells its keys, as the tab bar's do in [plugins.tabs].

[plugins.tabs]
position = "top"

enabled

Platforms: macOS

Whether the plugin runs: false turns it off, any plugin, the built-in ones too, whatever its keys.

ValueMeaning
trueThe plugin runs, as by default, but of a plugin that starts off, as Blocks
falseThe plugin is off: its commands, its keys, its bars and its panels go, and the program's text loses its marks

Default: true; false of a built-in plugin that starts off, [plugins.blocks] of Blocks.

[plugins.tabs]

Platforms: macOS

The tab bar of the built-in plugin lokyr/tabs: each window's tabs, each of its title, its color, the keys that select it and its close button, and a button of a new tab. A click on a tab shows it, on its close button closes it, asking you first while a program other than a shell runs there. A tab's title is the one that you give it with Shell › Rename Tab…, or its program's, or its folder and the program in its foreground, as src — vim.

position

Platforms: macOS

Where the bar goes.

ValuesDefault
"top", "bottom", "left", "right""top"

style

Platforms: macOS

The bar's look.

ValuesDefault
"standard", "unified", "seamless""unified"

hide-when-single

Platforms: macOS

Whether the bar hides while the window has a single tab.

ValuesDefault
true, falsetrue

show-index

Platforms: macOS

Whether each of the first nine tabs shows the keys that select it, as ⌘1.

ValuesDefault
true, falsetrue

close-button

Platforms: macOS

When a tab shows its close button.

ValuesDefault
"always", "hover", "never""hover"

column-width

Platforms: macOS

The width of the bar's column, on the left or the right, in points.

ValuesDefault
from 60 to 600200

control-tab

Platforms: macOS · Since 1.3

What Control-Tab and Control-Shift-Tab step through: the tabs in the order of their use, or in their own.

ValuesDefault
"recent", "order""recent"

reopen-seconds

Platforms: macOS · Since 1.3

How many seconds a tab that you close stays ready to come back with Shell › Reopen Closed Tab, ⇧⌘T.

ValuesDefault
from 0 to 8640010

[plugins.splits]

Platforms: macOS

The panes of the built-in plugin lokyr/splits: how the panes of a tab of more than one show, and where the keyboard goes. Its commands split a pane, move between panes, resize, zoom and swap them, as the keys of the defaults tell.

look

Platforms: macOS · Since 1.7

How the panes of a tab of more than one show.

ValuesDefault
cards, plaincards

icons

Platforms: macOS · Since 1.7

Applies when look is "cards"

The icons of programs of your own in the cards' headers, over Lokyr's: each entry a program's name, as it runs, and one of Lokyr's icons.

ValuesDefault
a table of programs' names and iconsnone
[plugins.splits.icons]
lazydocker = "kubernetes"
just = "zap"

dim-inactive

Platforms: macOS

How much the panes that have not the keyboard fade into their background, in a tab of more than one.

ValuesDefault
from 0 to 1, whole or not0.15

pane-titles

Platforms: macOS

Applies when look is "plain"

Whether each pane of a tab of more than one shows its title across its top, while look is plain.

ValuesDefault
true, falsefalse

focus-follows-mouse

Platforms: macOS

Whether the keyboard goes to the pane that the pointer comes over, without a click.

ValuesDefault
true, falsefalse

[plugins.quick-terminal]

Platforms: macOS

The quick terminal of the built-in plugin lokyr/quick-terminal: a window that a global key slides in from an edge of the screen, over every app, the ones in full screen too, and out again: a terminal at hand from anywhere. Bind its command, window.toggle-quick-terminal, to a key of [keys] that works in every app, with global:, which macOS gives Lokyr without the Accessibility permission, as Bindings says, as "global:ctrl+`" = "window.toggle-quick-terminal" does; Shell › Quick Terminal runs it too, and a double tap of a modifier, as double-tap sets it.

[keys]
"global:ctrl+`" = "window.toggle-quick-terminal"

Pick a key that no other app takes: VS Code, as an example, takes Control- for its own terminal while it is in front. The key shows the quick terminal and gives it the keys; again, it hides it, and the app that had the focus takes it back; shown without the focus, it takes the focus. Its shell runs while it is hidden, so that it shows at once, where [new-directory`](#new-directory) says; closed, as its shell exits, the next key opens a new one.

Hidden, it keeps its shell, its screen and its scrollback, as a window does, and its last frame, so that it shows at once: some ten megabytes of memory at half the screen of a Retina laptop, more on a larger screen. It draws nothing while hidden.

These keys were the section [quick-terminal] before; a file that still has it reads, a notice at its line telling you to move its keys here, which it ignores until then. With enabled = false, the quick terminal goes, its window and its shell with it, and Shell › Quick Terminal too.

position

Platforms: macOS

The edge of the screen that the quick terminal comes from, or its centre, where it fades in and out; it fades in and out in its place too where another display lies past its edge, rather than slide across that display.

ValuesDefault
"top", "bottom", "left", "right", "center""top"

It applies as it shows next.

size

Platforms: macOS

The quick terminal's size: first, how far it reaches into the screen from its edge, its height at the top or the bottom, its width at the left or the right, and its width at the centre; then, after a comma, its length along the edge, its width at the top or the bottom, and its height at the left, the right or the centre.

ValuesDefault
a percentage of the screen's, from "1%" to "100%", or points, as "300px"; a second one after a comma"50%"

screen

Platforms: macOS

The screen that the quick terminal shows on.

ValuesDefault
"main", "mouse", "menu-bar""main"

"main" is the system's main screen, the one of the window in front; "mouse" the screen that the pointer is on; "menu-bar" the one that has the menu bar. It applies as it shows next.

animation

Platforms: macOS

How long the quick terminal slides in and out, in milliseconds.

ValuesDefault
from 0 to 2000; 0 shows and hides it at once200

With the system's Reduce motion, it shows and hides at once. It applies at once.

autohide

Platforms: macOS

Whether the quick terminal hides as it loses the focus, as you click another app or another of Lokyr's windows.

ValuesDefault
true, falsetrue

It applies at once.

double-tap

Platforms: macOS · Since 1.3

A modifier whose double tap shows or hides the quick terminal from any app, as its command does: press the modifier alone and let go of it, twice, from the first press to the second release within the system's double-click interval, as System Settings › Accessibility › Pointer Control sets it.

ValuesDefault
"none", "ctrl", "alt" (Option), "cmd", "shift""none"

spaces

Platforms: macOS

Whether the quick terminal follows you to the Space in front, as you switch Spaces, or stays on the one that it showed on.

ValuesDefault
"move", "remain""move"

It applies as it shows next.

[plugins.search]

Platforms: macOS

The find bar of the built-in plugin lokyr/search. cmd+f opens it at the top right of the pane that has the keyboard, of your last search's text, selected, so that typing replaces it, and its options, which it searches again; as you type, it searches the pane's screen and scrollback, the rows that show first, and counts the matches, as 3 of 12, in a room of its own, which keeps the bar's width, numbers past 9999 short, as 12K. It searches from the bottom up, as the newest output is at the bottom: enter, cmd+g and the bar's up arrow select the next match, the one above; shift+enter, cmd+shift+g and its down arrow the previous one, the one below. Every match that shows is highlighted, the current one in a color of its own, and the current one comes into the view, which stays there while the program prints on. escape, or its close button, closes it: the highlights go, and the current match is your selection, ready for cmd+c. The toggles at its field's end count case, match whole words alone, and take the text as a regex, which the next search keeps; the magnifying glass at its start lists your recent searches, which Lokyr keeps.

case

Platforms: macOS

Whether case counts while the case toggle is off, of the find bar and of Find in All Tabs, which share it; on, it always counts.

ValuesDefault
smart, insensitivesmart

highlight-all

Platforms: macOS

Whether every match that shows is highlighted, besides the current one.

ValuesDefault
true, falsetrue

wrap-around

Platforms: macOS

Whether a step past the last match goes on from the first, and past the first from the last.

ValuesDefault
true, falsetrue

[plugins.command-header]

Platforms: macOS

The command's header of the built-in plugin lokyr/command-header: while a pane's first row shows a command's output and the command's line is above the view, a pill of the command as you typed it, in the terminal's font, sits on a thin line across the pane's top, over its first row, which a click scrolls to the command's prompt. Its colors are the theme's, of the tokens that its keys name, so that they follow the light and the dark appearance.

lokyr/blocks, of the same header and a button to the block's end, replaces this plugin while it runs, as it does by default: the keys of this section apply while lokyr/blocks is off, and [plugins.blocks] has them otherwise.

background, text, border, line, hover

Platforms: macOS

The theme's tokens of the header's colors, by their names: the pill's background, its text, its border, the line across the pane, and the color over the pill's background under the pointer.

ValuesDefault
a token's name, as "accent", "panel.bg", "field.bg" or "text.secondary""panel.bg", "text", "panel.border", "panel.border", "button.hover.bg"

font-size

Platforms: macOS

The size of the header's text, which takes the terminal's font, as [font] names it.

ValuesDefault
points, from 0 to 200; 0 for the terminal's own size0

font-weight

Platforms: macOS

The weight of the header's text, of the terminal's font's faces, the nearest that it has.

ValuesDefault
light, regular, medium, semibold, bold, heavyregular

padding-x, padding-y

Platforms: macOS

The room in the pill around its text, in points: left and right, and above and below.

ValuesDefault
padding-x from 0 to 40; padding-y from 0 to 208, 1

align

Platforms: macOS

Where the header's pill sits along the line across the pane.

ValuesDefault
left, center, rightleft

max-length

Platforms: macOS

The most characters of the command's line that the header shows.

ValuesDefault
characters, from 1 to 100080

[plugins.blocks]

Platforms: macOS

The commands' blocks of the built-in plugin lokyr/blocks, off by default: enabled = true, or Enable on the Plugins page, turns it on. Each command that the shell marks, its prompt, its line and its output, is a block. As soon as the first row of a block's prompt scrolls above the view, the block's prompt rows stay pinned at the pane's top, which a click scrolls to the command's prompt, or, of header = "pill", a pill of the command as you typed it, in the terminal's font, sits on a thin line across the pane's top, over its first row, which a click scrolls to the command's prompt; while the view does not show the block's end, an arrow beside the pill scrolls there, the output's last row at the view's bottom, or the screen of a command that still runs. Its colors are the theme's, of the tokens that its keys name, so that they follow the light and the dark appearance. A thin line divides the blocks, the gutter's bar of each command runs along its block, the block that a click or the keyboard selects is tinted, and a failed block's rows can be tinted. A blank row before each prompt can make room between the blocks.

lokyr/blocks replaces lokyr/command-header, the plain header, of the same keys, which comes back while lokyr/blocks is off: keys of [plugins.command-header] apply then, and the settings window notes it above them while lokyr/blocks runs.

Platforms: macOS

How the header of the block whose output the pane's top shows looks.

ValuesDefault
rows, pillrows

header-while-running

Platforms: macOS · Since 1.7

Applies when header is "rows"

While a block's command runs and the pane shows its newest output, whether the block's prompt rows stay pinned at the pane's top.

ValuesDefault
auto, always, neverauto

dividers

Platforms: macOS

Whether a thin line divides each command's block from the one before.

ValuesDefault
true, falsetrue

failed-tint

Platforms: macOS

Whether the rows of a block whose command failed are tinted, across the pane.

ValuesDefault
true, falsefalse

spacing

Platforms: macOS

Whether a blank row comes before each prompt that follows a command, as room between the blocks.

ValuesDefault
true, falsefalse

background, text, border, line, hover

Platforms: macOS

Applies when header is "pill"

The theme's tokens of the header's colors, by their names: the pill's background, its text, its border, the line across the pane, and the color over the pill's background under the pointer.

ValuesDefault
a token's name, as "accent", "panel.bg", "field.bg" or "text.secondary""panel.bg", "text", "panel.border", "panel.border", "button.hover.bg"

font-size

Platforms: macOS

Applies when header is "pill"

The size of the header's text, which takes the terminal's font, as [font] names it.

ValuesDefault
points, from 0 to 200; 0 for the terminal's own size0

font-weight

Platforms: macOS

Applies when header is "pill"

The weight of the header's text, of the terminal's font's faces, the nearest that it has.

ValuesDefault
light, regular, medium, semibold, bold, heavyregular

padding-x, padding-y

Platforms: macOS

Applies when header is "pill"

The room in the pill around its text, in points: left and right, and above and below.

ValuesDefault
padding-x from 0 to 40; padding-y from 0 to 208, 1

align

Platforms: macOS

Applies when header is "pill"

Where the header's pill sits along the line across the pane.

ValuesDefault
left, center, rightleft

max-length

Platforms: macOS

Applies when header is "pill"

The most characters of the command's line that the header shows.

ValuesDefault
characters, from 1 to 100080

[plugins.quick-tips]

Platforms: macOS

The quick tips of the built-in plugin lokyr/quick-tips: as Lokyr starts, a card at the bottom right of the window in front tells a shortcut as your keymap binds it, a feature that shows in no menu, or a command of a plugin that you installed, each tip once before any comes again. Its text takes two lines; a longer one shows whole as you click the card or its More button. It goes after 12 seconds, held while the pointer rests on it, at the first key that you type, or by its Dismiss button; its Don't show again checkbox stops the tips for good. Help › Show a Tip shows the next one at once, whatever the days.

every

Platforms: macOS

The days between two tips as Lokyr starts.

ValuesDefault
a whole number of days, from 0 to 3657

alphabet

Platforms: macOS · Since 1.3

The letters of the hints' labels, in the order that they take them: the first letters label the hints nearest the cursor, one letter each, and the hints past them take two.

ValuesDefault
lowercase letters and digits, each once, 2 at least"asdfghjklqwertyuiopzxcvbnm"

hints

Platforms: macOS · Since 1.3

Patterns of your own that View › Show Hints labels, beside the URLs, the paths, git's hashes and the IP addresses that it finds by itself, such as your issue tracker's ticket numbers, each opening a page of its own.

ValuesDefault
tables of a pattern and a urlnone
# A ticket number, such as PROJ-1234, opens the ticket's page.
[plugins.links.hints.tickets]
pattern = 'PROJ-\d+'
url = "https://jira.example.com/browse/$0"