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:
6 files changed
+25
-5
No files matched your search
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user