Cleanup previous PR

This commit is contained in:
Kovid Goyal
2026-03-23 08:54:57 +05:30
parent 0c7f17a447
commit 503e0a8acf
7 changed files with 7 additions and 5 deletions

View File

@@ -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

View File

@@ -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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -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

View File

@@ -34,7 +34,7 @@ commented sample config file in your text editor. For details see the
:doc:`configuration docs <conf>`.
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:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@@ -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