Commit Graph
63 Commits
Author SHA1 Message Date
BlackAngelTV d373fe5df8 Merge branch 'feat/session-restore'
Restore the tabs, layouts and working directories of the last session with
kitty --session=last, from state saved on exit.
2026-11-12 07:29:04 +01:00
BlackAngelTV 263607ab47 Merge branch 'feat/clipboard-history'
Keep an in-memory history of copied text, browsable and searchable from
keyboard shortcuts, without writing anything to disk.
2026-11-12 07:27:57 +01:00
BlackAngelTV d866fae523 Merge pull request 'feat(notifications): notify when long commands finish, with duration and exit status' (#37) from feat/cmd-finish-notifications into main
Reviewed-on: #37
2026-11-12 07:24:19 +01:00
BlackAngelTV 7839f666d5 fix(clipboard): make the default history shortcuts effective
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.
2026-11-11 21:39:51 +01:00
BlackAngelTV 9512d8a417 fix(build): generate the config for builtin option parsers
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.
2026-11-11 21:39:51 +01:00
BlackAngelTV 38ec8c86d7 feat(session): restore the last session from a keybinding
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.
2026-11-11 21:39:45 +01:00
BlackAngelTV ea4faeb5ac fix(build): generate the config for builtin option parsers
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.
2026-11-11 21:39:45 +01:00
BlackAngelTV 1b0f5faf6a feat(clipboard): map the history actions by default
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.
2026-11-11 21:36:36 +01:00
BlackAngelTV 9bacd745c2 docs(clipboard): explain how to pick an entry
The list is selected by typing the number shown next to an entry, which is not
discoverable from the list alone.
2026-11-11 21:32:09 +01:00
BlackAngelTV 15bab74943 fix(clipboard): paste into the window the picker was opened from
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.
2026-11-11 21:32:09 +01:00
BlackAngelTV 44b9aa166e fix(clipboard): record streamed clipboard writes in the history
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.
2026-11-11 21:32:09 +01:00
BlackAngelTV 665f9d5f2c fix(session): save the last session before the windows are torn down
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.
2026-11-11 21:31:41 +01:00
BlackAngelTV 831852a89f docs(clipboard): document the clipboard history
Users need to know the history is memory only and how to bind the two new
actions, since nothing is mapped by default and unrecorded clipboard content
would otherwise look like a bug.
2026-11-11 21:05:30 +01:00
BlackAngelTV f74d33597e test(clipboard): cover the clipboard history buffer 2026-11-11 21:05:30 +01:00
BlackAngelTV b1b26803cc feat(clipboard): keep an in-memory history of copied text 2026-11-11 21:05:30 +01:00
BlackAngelTV fb19c04798 docs(session): document restoring the last session
Explain where the state is kept, that restoring is explicit and what happens
to a stale or corrupt state file, so that users know the feature exists and how
to get rid of the saved state.
2026-11-11 21:03:29 +01:00
BlackAngelTV 205f01673b test(session): cover saving and restoring the last session 2026-11-11 21:03:29 +01:00
BlackAngelTV ef5301a0bb feat(session): restore the saved session with --session=last 2026-11-11 21:03:29 +01:00
BlackAngelTV a2629aa4d9 feat(session): save the last session when kitty exits 2026-11-11 21:03:29 +01:00
BlackAngelTV 36c4221b3f Merge pull request 'feat(tab-bar): add command status and cwd indicators, close and new tab buttons' (#34) from feat/tab-bar-indicators into main
Reviewed-on: #34
2026-11-11 20:19:40 +01:00
BlackAngelTV d0c014d066 Merge remote-tracking branch 'origin/main' into feat/tab-bar-indicators
# Conflicts:
#	kittens/file_manager/main.go
2026-11-11 20:18:12 +01:00
BlackAngelTV 9f2749c529 Merge pull request 'docs(kittens): document the file manager panel' (#38) from docs/file-manager-reference into main
Reviewed-on: #38
2026-11-11 20:12:43 +01:00
BlackAngelTV d91a79e361 Merge remote-tracking branch 'origin/main' into docs/file-manager-reference
# Conflicts:
#	docs/changelog.rst
#	docs/kittens/file-manager.rst
2026-11-11 20:09:08 +01:00
BlackAngelTV 85f481b457 Merge pull request 'feat(file-manager): fuzzy search, action palette and quick open' (#39) from feat/file-manager-search into main
Reviewed-on: #39
2026-11-11 20:06:23 +01:00
BlackAngelTV 49cbc34ff2 build(docs): use the checkout tool environment when it exists
The documentation needs extensions that are not installed system-wide, so
make html failed on a fresh shell even though the project already keeps them in
the root tool environment. Falling back to sphinx-build keeps the target
working when no environment is present.
2026-11-11 19:38:09 +01:00
BlackAngelTV 2f127f05af docs(changelog): note the file manager search and palette 2026-11-11 19:07:03 +01:00
BlackAngelTV 98b73edbcb docs(file-manager): document search, the action palette and quick open 2026-11-11 19:07:03 +01:00
BlackAngelTV f896d75211 feat(file-manager): filter the listing and open files faster
The panel could only be browsed entry by entry, which is slower than cd and ls
in a large directory. Typing / now filters the listing with the same fuzzy
matcher as the command palette, typing : lists every action with its
description from a single catalog, and o/t open the selection in a new tab or
OS window. Sizes are read once when the directory is listed so that sort_by
size does not need to stat the entries again.
2026-11-11 19:07:03 +01:00
BlackAngelTV 598030025b docs(changelog): note the file manager documentation update 2026-11-11 18:59:26 +01:00
BlackAngelTV 343c7e8aeb docs(kittens): list the file manager in the kittens overview 2026-11-11 18:59:26 +01:00
BlackAngelTV b691050719 docs(kittens): document file manager shell integration and limits 2026-11-11 18:59:26 +01:00
BlackAngelTV d6bdffca10 feat(options): notify when long commands finish by default
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.
2026-11-11 10:59:11 +01:00
BlackAngelTV 8f8d2526ab docs: describe what the command finished notification reports
Mention the command line, the duration and the exit status in the option
documentation and record the new duration in the changelog.
2026-11-11 10:45:45 +01:00
BlackAngelTV 8708aa4101 feat(notifications): show how long a command ran when it finishes
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.
2026-11-11 10:45:45 +01:00
BlackAngelTV 3791cdc024 fix(notifications): report the parsed exit status of finished commands
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.
2026-11-11 10:45:18 +01:00
BlackAngelTV f16ed6cbfe Merge pull request 'Feat/accessibility' (#35) from feat/accessibility into main
Reviewed-on: #35
2026-11-11 07:47:58 +01:00
BlackAngelTV d6b4f8b2a2 chore(gitignore): ignore local tooling and virtualenv directories 2026-11-11 07:47:31 +01:00
BlackAngelTV 3625e55a43 feat(accessibility): add default keyboard navigation and contrast docs
Make Tab and Shift+Tab move the selection in the file manager and command
palette by default, so both are fully keyboard driven without user
configuration. Document keyboard navigation, the native 4.5:1 contrast mode
and the absence of default visual changes.

Refs #31
2026-11-11 07:47:31 +01:00
BlackAngelTV a3a68399c5 feat(options): add a default shortcut for the file manager
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.
2026-11-10 21:00:36 +01:00
BlackAngelTV 5d81de162d (Cours) DOC(methodologie) add document methodologie 2026-11-09 14:38:33 +01:00
BlackAngelTV 38afa54ad9 fix(file-manager): open the selection with Enter instead of changing directory
Enter quit the panel and cd'ed the shell, which silently did nothing when the
panel ran in a dock, where there is no shell to move. Enter now behaves like
the right arrow and descends into a directory in place, while Ctrl+Enter keeps
the shell directory change and no longer depends on the selection.
2026-11-09 12:24:06 +01:00
BlackAngelTV a8129b1d5d feat(tab-bar): add clickable close buttons to tabs
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.
2026-11-09 11:14:07 +01:00
BlackAngelTV 0a15964b3e feat(tab-bar): show the new tab button by default
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.
2026-11-09 11:14:07 +01:00
BlackAngelTV d6b19f026b feat(tab-bar): add command status and abbreviated cwd indicators
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.
2026-11-09 11:14:07 +01:00
BlackAngelTV ee7439ef11 Merge pull request 'Feat/file manager panel' (#32) from feat/file-manager-panel into main
Reviewed-on: #32
2026-11-09 08:52:36 +01:00
BlackAngelTV 953076b510 Merge pull request 'feat(config): add named configuration profiles' (#33) from feat/config-profiles into main
Reviewed-on: #33
2026-11-09 08:52:24 +01:00
BlackAngelTV 1cfe7217f9 feat(config): add named configuration profiles
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.
2026-11-07 15:53:05 +01:00
BlackAngelTV 9c1bf4d84f build: add an Arch package for the FWS kitty
Installing the branch system-wide meant copying binaries by hand. Provide a
PKGBUILD that builds the branch and installs kitty and kitten in /usr/bin so
pacman can install and update it, with instructions for a local repository.
2026-11-06 08:41:18 +01:00
BlackAngelTV 93055004a9 docs: add a French README covering the whole workflow
The branch failed on another machine in ways the existing guides did not
explain, from an unextracted dependency bundle to the generated Go files
that only ./dev.sh build creates. Document prerequisites, build, launch, the
file manager, tests, packaging and pulling on a new machine in one place.
2026-11-06 08:41:18 +01:00
BlackAngelTV 4fb1402d9e feat(file-manager): open files in a full-window editor tab
Enter on a file handed the editor command to the shell, so the panel closed
and had to be reopened, and a docked panel ran the editor squeezed into the
dock. Delegate to kitty's edit protocol instead: the editor opens in a new
tab with the whole window and the panel is redrawn with the same selection
when it exits.

The editor now comes from kitty's editor option. file-manager's editor,
open_with_sudo and --open-here are kept but ignored so existing configs and
mappings keep loading.
2026-11-06 08:41:18 +01:00