Skip to content
v0.5.0

All settings

Every Cogno setting with its type, default and meaning. Settings are written as key = value lines in ~/.cogno/cogno.config; only the values you override need to be present. Where a default differs per operating system, the platform is named in brackets. See the configuration overview for the file format.

Settings that apply to the whole app.

Apply changes to the settings file as soon as it is saved.

Type: boolean · Default: true

How Cogno keeps itself up to date: background downloads a new version as soon as it is found and offers a restart; ask only announces it and downloads when you choose to update.

Type: background | ask · Default: background

Bring back your workspaces, tabs, panes and terminal output when Cogno starts. Off starts fresh each time; you save workspaces by hand instead.

Type: boolean · Default: true

Bring back what the terminals showed, above a separator line. Off restores the layout with empty terminals.

Type: boolean · Default: true

How many lines of output are kept per terminal for the next start; 0 keeps none.

Type: integer ≥ 0 · Default: 1000

Terminal and app fonts.

Font of the terminal; when empty, Cogno picks one for your system.

Type: string · Default: monospace

Terminal font size in pixels.

Type: integer ≥ 1 · Default: 14

Join character pairs such as -> and != into one symbol (needs a font with ligatures).

Type: boolean · Default: false

Weight of normal terminal text.

Type: normal | bold | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 · Default: normal

Weight of bold terminal text.

Type: normal | bold | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 · Default: bold

Draw box-drawing and block characters instead of taking them from the font.

Type: boolean · Default: true

Show bold text in the bright variant of its color.

Type: boolean · Default: false

Shrink glyphs that are wider than their cell so they stop overlapping.

Type: boolean · Default: false

Font family of the app UI (tabs, menus, panels) - not the terminal.

Type: string · Default: sans-serif

Font size of the app UI in pixels.

Type: integer ≥ 1 · Default: 14

Terminal color palette. Colors are hex without #; 8 digits add alpha.

Default text color of the terminal.

Type: hex color · Default: ffffff

Terminal background color.

Type: hex color · Default: 0e1925

Accent color for highlighted UI elements, e.g. the active tab.

Type: hex color · Default: 34bbfe

ANSI color 0 (black).

Type: hex color · Default: 32465c

ANSI color 1 (red).

Type: hex color · Default: fd1155

ANSI color 2 (green).

Type: hex color · Default: 11d894

ANSI color 3 (yellow).

Type: hex color · Default: fede55

ANSI color 4 (blue).

Type: hex color · Default: 34bbfe

ANSI color 5 (magenta).

Type: hex color · Default: e465d9

ANSI color 6 (cyan).

Type: hex color · Default: 32d8c1

ANSI color 7 (white).

Type: hex color · Default: eeeeee

ANSI color 8 (bright black / grey).

Type: hex color · Default: 32465c

ANSI color 9 (bright red).

Type: hex color · Default: fd1155

ANSI color 10 (bright green).

Type: hex color · Default: 11d894

ANSI color 11 (bright yellow).

Type: hex color · Default: fede55

ANSI color 12 (bright blue).

Type: hex color · Default: 34bbfe

ANSI color 13 (bright magenta).

Type: hex color · Default: e465d9

ANSI color 14 (bright cyan).

Type: hex color · Default: 32d8c1

ANSI color 15 (bright white).

Type: hex color · Default: eeeeee

Cursor shape, color and behaviour.

Cursor width in pixels; applies to the bar style.

Type: integer 0-10 · Default: 4

Let the cursor blink.

Type: boolean · Default: true

Cursor shape while the terminal has focus.

Type: bar | underline | block · Default: bar

Cursor shape while the terminal does not have focus.

Type: outline | block | bar | underline | none · Default: outline

Cursor color.

Type: hex color · Default: 34bbfecc

Color of the character underneath a block cursor.

Type: hex color · Default: 34bbfe66

Alt+click moves the shell cursor to the clicked position.

Type: boolean · Default: true

Padding around the terminal content.

Padding between terminal content and left edge.

Type: number ≥ 0 · Default: 0.5

Padding between terminal content and right edge.

Type: number ≥ 0 · Default: 0.5

Padding between terminal content and top edge.

Type: number ≥ 0 · Default: 0

Padding between terminal content and bottom edge.

Type: number ≥ 0 · Default: 0.5

Drop the padding while a full-screen app (vim, less) owns the screen.

Type: boolean · Default: false

Optional terminal background image.

Path to a background image; empty means no background image.

Type: string · Default: (empty)

Opacity of the background image, 0-100.

Type: integer 0-100 · Default: 80

Blur radius applied to the background image, 0-10.

Type: integer 0-10 · Default: 0

Appearance of menus and panels.

Opacity of menus and panels, 0-100.

Type: integer 0-100 · Default: 80

Scrollbar appearance and scrolling behaviour.

Scrollbar width in pixels; 0 hides it.

Type: integer ≥ 0 · Default: 6

Border color of the strip beside the scrollbar that marks search matches.

Type: hex color · Default: 0e192500

Scrollbar slider color.

Type: hex color · Default: 32465c66

Scrollbar slider color while hovered.

Type: hex color · Default: 32465c

Scrollbar slider color while being dragged.

Type: hex color · Default: 32465c

Lines scrolled per mouse-wheel notch.

Type: integer ≥ 0 · Default: 1

Jump to the bottom when you start typing.

Type: boolean · Default: true

Duration of smooth scrolling in milliseconds; 0 disables it.

Type: integer ≥ 0 · Default: 0

How many times faster the terminal scrolls while you hold Alt.

Type: integer ≥ 0 · Default: 2

Text selection colors and behaviour.

Clear the selection right after copying.

Type: boolean · Default: false

Background color of selected text in the focused terminal.

Type: hex color · Default: 34bbfecc

Background color of selected text in an unfocused terminal.

Type: hex color · Default: 34bbfe66

Right-click selects the word under the pointer.

Type: boolean · Default: false

Clipboard access and copy behaviour.

Whether programs in the terminal may read your clipboard (OSC 52); ask asks each time. Your own pasting always works.

Type: ask | allow | deny · Default: ask

Whether programs in the terminal may put text on your clipboard (OSC 52).

Type: allow | deny · Default: allow

Strip trailing spaces from copied lines.

Type: boolean · Default: true

Shell profiles and which one starts by default. <name> is a profile name you choose. At most 9 profiles; shell.default must name one of them.

Name of the profile new terminals start with; must exist in shell.profiles.

Type: string

Order the profiles appear in menus and on the shell-profile shortcuts.

Type: string[]

Which shell this profile launches.

Type: PowerShell | ZSH | Bash

Path of the shell executable, e.g. /bin/zsh. Required.

Type: string

Extra launch arguments for the shell.

Type: string[]

Environment variables added to the shell process.

Type: string

Directory the shell starts in.

Type: string

Make the cogno command available in this shell.

Type: boolean

shell.profiles.<name>.enable_shell_integration

Section titled “shell.profiles.<name>.enable_shell_integration”

Let Cogno follow this shell: which commands run, how they end and the current directory. Without it, history and command status stay empty.

Type: boolean

Also load your own shell startup files (.zshrc, .bashrc, the PowerShell profile).

Type: boolean

The configurable prompt rendered by Cogno. <name> is a profile or segment name you choose. A segment sets exactly one of field or text.

Name of the prompt profile in use.

Type: string · Default: default

Segment names to render, in order; each must exist under prompt.segment.

Type: string[]

Text inserted between segments.

Type: string

Text color: a terminal color name or hex.

Type: black | red | green | yellow | blue | magenta | cyan | white | brightBlack | brightRed | brightGreen | brightYellow | brightBlue | brightMagenta | brightCyan | brightWhite | hex color

Background color: a terminal color name or hex.

Type: black | red | green | yellow | blue | magenta | cyan | white | brightBlack | brightRed | brightGreen | brightYellow | brightBlue | brightMagenta | brightCyan | brightWhite | hex color

Render the segment bold.

Type: boolean

Render the segment italic.

Type: boolean

Underline the segment.

Type: boolean

Font size override for this segment.

Type: integer ≥ 1

Only show the segment when the condition holds, e.g. returnCode!=0.

Type: string

Inner padding left of the content.

Type: integer

Inner padding right of the content.

Type: integer

Outer margin left of the segment.

Type: integer

Outer margin right of the segment.

Type: integer

Corner radius on the left side.

Type: integer ≥ 0

Corner radius on the right side.

Type: integer ≥ 0

Tooltip shown when hovering the segment.

Type: string

Extra CSS class for custom styling.

Type: string

How the value is rendered, e.g. timespan for a duration.

Type: string | number | json | upper | lower | timespan

Shown when the field has no value.

Type: string

Data field to display, e.g. directory, user, machine, duration.

Type: string

Static text to display, instead of a field.

Type: string

A key for an action, one per line, e.g. keybind = Command+T=new_tab. Your lines add to the defaults; the last line for an action wins.

Type: lines

Terminal rendering and behaviour.

Draw the terminal with the graphics card, which is faster. Turn it off if text looks broken.

Type: boolean · Default: true (linux: false)

How many lines of earlier output a terminal keeps for scrolling back.

Type: integer ≥ 100 · Default: 100000

Fill color of a match.

Type: hex color · Default: 2f8fda55

Border color of a match.

Type: hex color · Default: 2f8fda

Color of the mark a match gets in the strip beside the scrollbar.

Type: hex color · Default: 2f8fda

terminal.decoration.active_color.background

Section titled “terminal.decoration.active_color.background”

Fill color of a match.

Type: hex color · Default: f5e66399

Border color of a match.

Type: hex color · Default: f5e663

terminal.decoration.active_color.overview_ruler

Section titled “terminal.decoration.active_color.overview_ruler”

Color of the mark a match gets in the strip beside the scrollbar.

Type: hex color · Default: f5e663

How strongly panes that are not focused are dimmed, 0-100.

Type: integer 0-100 · Default: 30

Paste text as if you had typed it, even where a program wants to be told it is a paste. Pasted lines then run at once.

Type: boolean · Default: false

Adjust text colors until they stand out from their background by at least this ratio; 1 changes nothing.

Type: number · Default: 4

Expose terminal output to screen readers.

Type: boolean · Default: false

Allow transparent background colors; costs some rendering performance.

Type: boolean · Default: true

Width of a tab character in columns.

Type: number · Default: 8

Characters that end a word for double-click selection and word-wise motion.

Type: string · Default: "()[]{}'\"\\,;:/&<>*+=$^!~` "

Show the progress bar in the terminal header.

Type: boolean · Default: true

Show images that programs print into the terminal (sixel and iTerm2’s OSC 1337).

Type: boolean · Default: false

Megabytes of images each terminal keeps; when it is full the oldest images are replaced by a placeholder.

Type: number 1-1000 · Default: 32

How many commands the history keeps per shell, or unlimited; the oldest go first. 0 keeps none.

Type: unlimited | integer ≥ 0 · Default: unlimited

terminal.history.ignore_commands_with_leading_space

Section titled “terminal.history.ignore_commands_with_leading_space”

Keep a command out of the history when you type a space in front of it, as bash and zsh do.

Type: boolean · Default: false

Fill an empty history from your shell’s own history file the first time Cogno starts (bash, zsh, PowerShell).

Type: boolean · Default: false

Run a command as soon as you pick it from the history. Off puts it on the input line and waits for Enter.

Type: boolean · Default: false

Command autocomplete behaviour.

How long autocomplete waits, in milliseconds, for suggestions it has to look up (branches, containers) before it shows the rest.

Type: integer ≥ 1 · Default: 160

Exit codes a command may end with to be suggested; [0] suggests only successful commands, empty suggests all.

Type: integer[] · Default: []

autocomplete.allowed_return_codes_by_command.<name>

Section titled “autocomplete.allowed_return_codes_by_command.<name>”

Exit codes for one command, named by its first word, instead of allowed_return_codes; e.g. allowed_return_codes_by_command.grep = [0,1].

Type: integer[]

Which events notify you, and how.

Show notifications inside Cogno.

Type: boolean · Default: true

Seconds an in-app notification stays before it fades. unlimited keeps it until you dismiss it; 0 shows none.

Type: unlimited | integer ≥ 0 · Default: 5

Send notifications to the operating system.

Type: boolean · Default: false

Mark the tab of the terminal a notification belongs to while that terminal isn’t focused.

Type: boolean · Default: true

Notify when a program in the terminal sends a message (OSC 9 or OSC 777).

Type: boolean · Default: false

notification.source.terminal.long_running_command.enabled

Section titled “notification.source.terminal.long_running_command.enabled”

Notify when a command that ran for a while has finished.

Type: boolean · Default: false

notification.source.terminal.long_running_command.minimum_duration_seconds

Section titled “notification.source.terminal.long_running_command.minimum_duration_seconds”

Notify only when a command ran for at least this many seconds.

Type: integer ≥ 0 · Default: 10

notification.source.errors.handled.enabled

Section titled “notification.source.errors.handled.enabled”

Notify when Cogno ran into an error and carried on.

Type: boolean · Default: false

notification.source.errors.unhandled.enabled

Section titled “notification.source.errors.unhandled.enabled”

Notify when Cogno ran into an unexpected error.

Type: boolean · Default: false

notification.source.coding_agents.working.enabled

Section titled “notification.source.coding_agents.working.enabled”

Notify when an agent starts working.

Type: boolean · Default: false

notification.source.coding_agents.question.enabled

Section titled “notification.source.coding_agents.question.enabled”

Notify when an agent has a question and needs input.

Type: boolean · Default: false

notification.source.coding_agents.ready.enabled

Section titled “notification.source.coding_agents.ready.enabled”

Notify when an agent has finished and waits for you.

Type: boolean · Default: false

notification.source.coding_agents.error.enabled

Section titled “notification.source.coding_agents.error.enabled”

Notify when an agent reports an error.

Type: boolean · Default: false

Local HTTP server used by the CLI.

Let the cogno command and the coding-agent hooks reach this app through a local server.

Type: boolean · Default: true

Port the local server listens on.

Type: integer 1-65535 · Default: 9000

If the port is taken, try the next free one instead of failing.

Type: boolean · Default: true

Each feature can be switched off entirely and ordered in the side menu.

Turn the feature on or off. Off removes it entirely, including its side-menu entry and actions.

Type: off | on · Default: on

Position in the side menu; lower numbers come first.

Type: integer · Default: 10

Turn the feature on or off. Off removes it entirely, including its side-menu entry and actions.

Type: off | on · Default: on

Position in the side menu; lower numbers come first.

Type: integer · Default: 70

How many notifications the overview keeps, or unlimited.

Type: unlimited | integer ≥ 0 · Default: 30

Turn the feature on or off. Off removes it entirely, including its side-menu entry and actions.

Type: off | on · Default: on

Position in the side menu; lower numbers come first.

Type: integer · Default: 60

Turn the feature on or off. Off removes it entirely, including its side-menu entry and actions.

Type: off | on · Default: on

Position in the side menu; lower numbers come first.

Type: integer · Default: 40

Turn the feature on or off. Off removes it entirely, including its side-menu entry and actions.

Type: off | on · Default: on

Position in the side menu; lower numbers come first.

Type: integer · Default: 30

Turn the feature on or off. Off removes it entirely, including its side-menu entry and actions.

Type: off | on · Default: on

Position in the side menu; lower numbers come first.

Type: integer · Default: 50

Turn the feature on or off. Off removes it entirely, including its side-menu entry and actions.

Type: off | on · Default: on

Position in the side menu; lower numbers come first.

Type: integer · Default: 20