Commit Graph
47 Commits
Author SHA1 Message Date
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 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 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 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
BlackAngelTV 154e91b906 build: add Arch Linux development container
kitty only builds on Linux and macOS, so a Windows host cannot build it
natively. Provide an image with the dependencies from docs/build.rst to build
and run the project against the distribution it targets.
2026-11-05 10:27:09 +01:00
BlackAngelTV 5871baa33a docs: translate user documentation to French
Make the user-facing documentation readable for the French-speaking team.
Anchors, roles and cross-references are unchanged so existing links keep
resolving.
2026-11-05 10:27:08 +01:00
BlackAngelTV 5c50bc4898 fix(build): declare err in devenv dependencies
Without the declaration, ./dev.sh build fails to compile bypy/devenv.go with
"undefined: err", which blocks every Linux build of the project.
2026-11-05 10:27:07 +01:00
BlackAngelTV fc74f8a9a1 build: normalize line endings to LF
The repository stored CRLF blobs, so dev.sh and the Makefile failed with
"bad interpreter" and stray carriage returns as soon as the tree was used on
Linux. Force LF in .gitattributes and renormalize the index so checkouts build
on the platform kitty targets.
2026-11-05 10:26:51 +01:00
BlackAngelTV 3769c5d08d chore: drop GitHub workflows and templates
The vendored copy does not run upstream CI: remove the Actions workflows, security scanners and issue templates so nothing is triggered from this repository. The dependency bundle URL is pinned in bypy so setup no longer reads the removed CI script.
2026-11-04 11:35:59 +01:00
BlackAngelTV 3f23d6e065 chore: adapt repository setup for FWS-Kitty
Ignore per-machine tool state and caches, and stop starting the workflow pipelines on direct pushes.
2026-11-04 11:35:59 +01:00
BlackAngelTV 3d174c45a4 chore: import official kitty sources from upstream
Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
2026-11-04 11:35:59 +01:00