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:
4 files changed
+12
-7
No files matched your search
+4
-4
@@ -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.
|
||||
Reference in new issue
Block a user