Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tab and window titles

A tab shows the title its program sets (OSC 0/2, cmd's title), and the window caption and taskbar button show the active tab's. You can rename them by hand, with Ghostty's title actions:

  • Change Tab Title… (prompt_tab_title): in the ☰ menu, the Command Palette, and first in a tab's right-click menu as Change Title….
  • Change Window Title… (prompt_window_title): in the ☰ menu and the palette. It changes only the caption and the taskbar button.
  • Change Terminal Title… (prompt_surface_title): in the palette.

The palette (Ctrl+Shift+P) matches a search by its whole phrase first, then by its words in any order, so "change title" lists all three.

Each one opens a small dialog with the current title selected. Enter or OK applies the title, and Esc or Cancel leaves it unchanged. Leave it blank to restore the default title. As in Ghostty, a title you set this way stays when the program sets new titles, until you clear it. Underneath, the program's own title keeps updating, so v7-title-progress still reads [N%] from it. A tab title wins over a terminal title. Change Terminal Title… renames the focused split (see Splits); the ☰ menu's Split submenu has it as Change Title….

Key bindings use Ghostty's syntax. None is bound by default:

keybind = ctrl+shift+e=prompt_tab_title
keybind = ctrl+alt+1=set_tab_title:Build: release
keybind = ctrl+alt+0=set_tab_title:
keybind = ctrl+alt+2=set_window_title:Logs
keybind = ctrl+alt+3=set_surface_title:scratch

The text after the colon is taken as written, and empty clears the title. set_surface_title: works differently: it sets the title as if the program had set it, so the program's next title replaces it. copy_title_to_clipboard copies the terminal title you set, else the program's.