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.
This commit is contained in:
BlackAngelTV committed 2026-11-11 21:39:51 +01:00
1 parent 58d768fbb2
commit 1f112063df
4 files changed
+12 -7

No files matched your search

+4 -4
View File
@@ -285,14 +285,14 @@ written by a program that marks its request as private (by passing a ``pw``
field in an *OSC 5522* write request) is never recorded, and neither is anything
copied to the primary selection. Images and other non-text data are ignored.
Both actions have a default shortcut: :kbd:`kitty_mod+shift+v` opens the
history and :kbd:`kitty_mod+shift+f` asks for a fuzzy query before showing the
Both actions have a default shortcut: :kbd:`kitty_mod+alt+v` opens the
history and :kbd:`kitty_mod+alt+f` asks for a fuzzy query before showing the
list. To use different keys, add for example to :file:`kitty.conf`:
.. code-block:: conf
map kitty_mod+shift+h paste_from_clipboard_history
map kitty_mod+shift+g search_clipboard_history
map kitty_mod+alt+h paste_from_clipboard_history
map kitty_mod+alt+g search_clipboard_history
The size of the history is fixed at 50 entries, 64 KiB per entry and 1 MiB in
total, so that a few large copies cannot use an unbounded amount of memory.