fix(search): give the in-place search a usable shortcut

kitty_mod+shift+f is the same physical key as kitty_mod+f, and
move_window_forward accepts the shifted fallback, so both definitions resolved
to the same trigger and the last one won: Ctrl+Shift+F moved the window instead
of opening the prompt, and the search had no shortcut at all. It now sits on
kitty_mod+alt+s, which no other default action claims.

Fixes #45
This commit is contained in:
BlackAngelTV committed 2026-12-03 10:21:00 +01:00
1 parent b036fb352e
commit 17462f5198
6 files changed
+25 -5

No files matched your search

+3 -1
View File
@@ -30,7 +30,9 @@ Search scrollback in place :sc:`search_scrollback_prompt`
========================== =======================
The in-place search highlights every match without replacing the screen with a
pager. Prefix the query with ``\c`` to match case sensitively and with ``\r``
pager. It is bound to :kbd:`kitty_mod+alt+s` (:kbd:`Ctrl+Shift+Alt+S` by
default) and can also be run with :code:`kitten @ action
search_scrollback_prompt`. Prefix the query with ``\c`` to match case sensitively and with ``\r``
to use a regular expression; both modifiers can be combined. Write a doubled
backslash (``\\c``, ``\\r``) to search for those prefixes literally. While the search
is active, :kbd:`n` jumps to the next match, :kbd:`N` to the previous one and
+5
View File
@@ -263,6 +263,11 @@ Detailed list of changes
:kbd:`kitty_mod+H` is pressed. The panel can also be started with
:code:`kitty +kitten help`.
- The in-place scrollback search got a usable default shortcut: it was bound
to :kbd:`kitty_mod+shift+f`, the same physical key as :ac:`move_window_forward`
(which allows the shifted fallback), so the last definition won and the search
never opened. It is now on :kbd:`kitty_mod+alt+s`.
- The keyboard shortcuts panel ellipsizes a long action name inside its own
column instead of letting the edge of the dock cut it, shrinks its key column
on very narrow docks so that a row always fits, and shows the full name of