Expose the multi-key mappings starting at the configured leader key in a
which-key panel, so that continuations are discoverable as soon as the prefix
is pressed. Both the panel and the command palette read the same structured
mapping data, and the palette can now write a new mapping for the selected
action.
Releases were built and uploaded by hand, so the published package could
lag behind main and nothing checked the tree before it shipped. The new
version file drives a pipeline that lints, builds and tests the exact
commit, then creates the Gitea release and pushes the package to the
pacman repository.
Use the standard kitty modifier instead of Ctrl+H, which many terminal
programs use for backspace. The help panel now lists the binding as
kitty_mod+h.
Runtime keybindings are read from the generated Options defaults, so
adding the definition alone did not expose the shortcut until the
config was regenerated.
Make the searchable shortcuts reference reachable without going through the
kitty shell, and advertise it on the shell's first screen. The default binding
takes over Ctrl+H, which is documented in the mapping description.
The tab bar has exposed the working directory of its active window since the
directory indicator was added, but it stayed invisible until users edited
kitty.conf. Put it in the default title template so the indicator works on a
fresh start, next to the exit status already shown there.
kitty_mod already includes shift, so kitty_mod+shift+v resolved to the same
chord as paste_from_clipboard and the mapping did nothing. Use the free alt
combinations and regenerate the option types so the bindings are part of the
default configuration.
auto_reload_config is parsed with the builtin float, which the generator
rejected because it only accepted Python functions, so regenerating the option
types after any change to the defaults was impossible.
Besides the --session=last startup option, the saved state can now be brought
back in a running kitty with restore_last_session, mapped to kitty_mod+alt+r.
The option types are regenerated so the shortcut is actually part of the
default configuration.
auto_reload_config is parsed with the builtin float, which the generator
rejected because it only accepted Python functions, so regenerating the option
types after any change to the defaults was impossible.
Without a default shortcut the history was effectively undiscoverable, unlike
every other clipboard action. Use kitty_mod+shift+v for the history and
kitty_mod+shift+f for the fuzzy search, both keys being unused.
The picker overlay is the active window while it is open, so pasting into the
active window after a selection went nowhere once it closed. Remember the
window the user was working in before showing the list.
OSC 52 writes are committed as a chunker factory rather than bytes, so the
history silently dropped every text copy made by a program. Extract the text
from either representation, bounded so a huge write is not materialized.
The save ran from the cleanup path, after the quit request had already made
the C side close every OS window, so the serialized session was always empty.
Save from the quit paths instead, where the windows still exist, and keep the
cleanup path as a no-op fallback.
The notification only happened if notify_on_cmd_finish was passed on the
command line or written in kitty.conf, so a fresh build looked like it had no
such feature at all. Long-running commands now notify by default once the
window loses focus; the 5 second threshold keeps short commands silent.
The duration was measured to decide whether a command was long enough to
warrant a notification, but it was never shown, so the notification could only
say that the command had ended. Report it next to the exit status, formatted
in milliseconds, seconds, minutes or hours depending on the length.
A shell that ends a command with a bare OSC 133;D leaves the raw status string
empty, so the notification said "finished with status: ." and the command action
got an empty %s. Use the status already parsed for the event instead.
The panel and the shell each kept their own directory. The new sync_cwd option
keeps them in step both ways, through files in a session directory exported by
kitty rather than by typing a command into the terminal: the shell applies the
directory chosen in the panel from its prompt hook with builtin cd, so nothing
lands in the history and a half typed multi-line command is not submitted.
The documented Ctrl+Shift+E binding only existed in a hand-written config, so
the file manager was unreachable without adding it manually. Bind the docked
panel by default and regenerate the option types. The binding takes the key
over from open_url, as noted in the changelog.
Tabs could only be closed with the keyboard or the middle mouse button, which
is not discoverable. Draw a small cross at the start of each horizontal tab,
close the tab when it is clicked, and avoid starting a drag from the button.
The + button was only visible when explicitly enabled or while dragging a
window, so new tabs could not be created from the tab bar out of the box. Show
it at rest and keep the tab bar visible with a single tab.
The tab bar only showed the window title, so it was impossible to tell at a
glance whether the last command failed or which directory a tab was in. Expose
the active window's last exit status and a compact working directory to
tab_title_template, and refresh the tab bar when a command finishes.
Profiles declared as `profile <name> { ... }` in kitty.conf are now collected
while the configuration is read and applied only when selected, so switching
between projects no longer requires duplicating or editing kitty.conf.
The selected profile is layered over the global configuration, meaning it only
overrides the options it declares. Selection happens with --profile or
KITTY_PROFILE, reloading keeps the active profile, and an unknown or malformed
profile is reported without blocking startup.