Commit Graph
72 Commits
Author SHA1 Message Date
BlackAngelTV d5f2847ff5 docs: document the shortcuts help panel
Describe the help command, the direct kitten invocation, the panel's keys and
the mapping that opens it in a dock.
2026-11-12 12:43:47 +01:00
BlackAngelTV 81df6f2d3a feat(help): open a searchable shortcuts panel from help
Running help without arguments in the kitty shell now opens a categorized,
searchable reference in a left dock instead of a pager. The new kitten collects
the effective bindings and hands them to the palette in read-only mode.
2026-11-12 12:43:46 +01:00
BlackAngelTV 45a16ea61c feat(command-palette): add a read-only reference mode
The shortcuts help panel needs the palette's search and categories without
running an action when a binding is chosen, and it lives in a dock where input
comes from the terminal rather than the overlay protocol. Read the bindings from
a file and skip execution in that mode.
2026-11-12 12:43:46 +01:00
BlackAngelTV 8482515412 docs: add a reference for every default keyboard shortcut
List the global shortcuts, the keys added for the file manager, the clipboard
history and the session restore, and the controls of the built-in kittens in a
single dedicated file. It records what works without any configuration and how
to rebind each entry.
2026-11-12 12:25:56 +01:00
BlackAngelTV 4e3d6b97dc feat(tab-bar): show the abbreviated cwd in the default title
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.
2026-11-12 12:17:33 +01:00
BlackAngelTV 13c49c89aa Merge branch 'feat/cwd-sync'
Keep the file manager panel and the shell in the same directory in both
directions, through the shell integration instead of typing commands.
2026-11-12 07:32:09 +01:00
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 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