Commit Graph
107 Commits
Author SHA1 Message Date
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 5d2e28b144 feat(file-manager): move the shell while browsing the panel
Opening a directory in the panel now hands it to the shell, so walking the tree
reads like cd and the two stay on the same directory. The request is still read
at the shell's next prompt, and quitting without validating withdraws a request
the shell has not read yet, so Esc keeps leaving the shell where it was.
2026-11-11 08:48:03 +01:00
BlackAngelTV e7e4e849eb feat(file-manager): sync the working directory by default
The panel and the shell now share their directory out of the box; whoever wants
the previous independence sets sync_cwd no. The request is only written once the
shell has published its directory, since that file is what proves its
integration hook will read the request: a shell without shell integration still
gets the cd typed into the terminal instead of losing the change.
2026-11-11 08:35:19 +01:00
BlackAngelTV 1b330bcf81 feat(file-manager): sync the working directory with the shell
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.
2026-11-11 08:20:11 +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
BlackAngelTV a12a05e666 fix(build): fetch the dependency bundle when its Python is missing
dependencies/ is gitignored, so a fresh clone has none, but a working tree
can keep the folder with only the cached tarball. Checking for the folder
skipped the download and the build then died with a cryptic missing-Python
error. Check the bundle Python itself so an incomplete bundle is fetched.
2026-11-06 08:41:18 +01:00
BlackAngelTV 4b59b3a375 docs(file-manager): describe the editor option and --open-here
Explain that Enter opens files in the configured editor, that
open_with_sudo prefixes it with sudo, and that a docked panel needs
--open-here since its results never reach the shell.
2026-11-05 15:48:01 +01:00
BlackAngelTV 86982b79be feat(file-manager): open files in the editor from the panel
Files used to open in a new tab, which loses the shell the user was
working in. Hand the editor command to that shell instead, optionally
through sudo for files owned by root.

A docked panel cannot do that: kitty never routes the result of a
launch --type=window-dock back to the shell, so Enter used to close the
panel without opening anything. Add --open-here, which suspends the
panel and runs the editor in its own window. The editor is resolved
from the new `editor` option, because kitty's own editor option is not
visible to a process started with launch.
2026-11-05 15:48:01 +01:00
BlackAngelTV fb87a7306f fix(file-manager): send the overlay ready notification after the first draw
The overlay stays hidden until the kitten reports that it has drawn its
initial frame, so the panel would not appear when launched from a mapping.
2026-11-05 10:53:37 +01:00
BlackAngelTV 01c1531119 feat(file-manager): add a keyboard driven file manager kitten
Navigating a project from the shell meant chaining cd commands or leaving the
session for ranger or yazi, which isolates the environment and history. The new
kitten browses directories in a side panel on top of the existing panel and
tui/loop infrastructure and hands the selected directory back to the shell, so
the session stays intact.
2026-11-05 10:48:27 +01:00
BlackAngelTV 4d10615cc4 docs: add development setup guide for Arch Linux
Developing on Windows means building against Arch in a container, and the
steps (dependencies, image, build, run, troubleshooting) were only implicit in
docs/build.rst, so document the workflow in French for the team.
2026-11-05 10:37:51 +01:00