diff --git a/docs/actions.rst b/docs/actions.rst index 2366d769b..228954cdb 100644 --- a/docs/actions.rst +++ b/docs/actions.rst @@ -9,6 +9,6 @@ configuration examples, see the default shortcut links for each action. To read about keyboard mapping in more detail, see :doc:`mapping`. You can also browse and trigger these actions by pressing :sc:`command_palette` -to run the command palette. +to run the :doc:`/kittens/command-palette`. .. include:: /generated/actions.rst diff --git a/docs/changelog.rst b/docs/changelog.rst index 9aa2487e5..bb7ef9f61 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -176,6 +176,8 @@ Detailed list of changes - X11: Fix a regression in the previous release that caused an occasional crash on input device removal (:iss:`9723`) +- Command palette: Improve searching to use word level matching (:pull:`9727`) + 0.46.2 [2026-03-21] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/kittens/command-palette.rst b/docs/kittens/command-palette.rst index 95add0198..0d10af7b3 100644 --- a/docs/kittens/command-palette.rst +++ b/docs/kittens/command-palette.rst @@ -11,12 +11,12 @@ The command palette lets you browse, search and trigger all keyboard shortcuts and actions in |kitty| from a single searchable overlay. Press :sc:`command_palette` to open it (default: :kbd:`Ctrl+Shift+F3`). -.. figure:: ../screenshots/command-palette.png +.. figure:: ../screenshots/command-palette.webp :alt: A screenshot of the command palette kitten :align: center :width: 100% - The command palette showing search results for "window close" + The command palette showing search results for ``win close``. All mapped actions (those with a keyboard shortcut) and unmapped actions (those available but not bound to any key) are listed, organized by category. Mouse diff --git a/docs/overview.rst b/docs/overview.rst index 2eaaaa56d..5273f8e23 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -34,7 +34,7 @@ commented sample config file in your text editor. For details see the :doc:`configuration docs `. You can quickly browse all available mappable actions by pressing -:sc:`command_palette`. +:sc:`command_palette`, see :doc:`kittens/command-palette` for details. .. toctree:: :hidden: diff --git a/docs/screenshots/command-palette.png b/docs/screenshots/command-palette.png deleted file mode 100644 index 123057281..000000000 Binary files a/docs/screenshots/command-palette.png and /dev/null differ diff --git a/docs/screenshots/command-palette.webp b/docs/screenshots/command-palette.webp new file mode 100644 index 000000000..489e03b46 Binary files /dev/null and b/docs/screenshots/command-palette.webp differ diff --git a/kitty/boss.py b/kitty/boss.py index 74d556d24..8981a9ce1 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -2346,7 +2346,7 @@ class Boss: self.run_kitten_with_metadata('unicode_input', window=self.window_for_dispatch) @ac('misc', ''' - Browse and trigger keyboard shortcuts and actions in a searchable overlay. + Browse and trigger keyboard shortcuts and actions in a searchable overlay (:doc:`/kittens/command-palette`) ''') def command_palette(self) -> None: from kittens.command_palette.main import collect_keys_data