fix(search): give the in-place search a usable shortcut #55
Merged
BlackAngelTV
merged 2 commits from 2026-12-03 10:21:04 +01:00
fix/search-shortcut into main
No Reviewers
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: FWS/FWS-Kitty#55
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
search_scrollback_promptwas bound tokitty_mod+shift+f, which is the same physical key askitty_mod+f.move_window_forwardis defined onkitty_mod+fwith--allow-fallback=shifted, so both definitions resolved toSingleKey(mods=5, key=102)and the last one won silently:The search therefore had no reachable shortcut, as reported in #45.
The action now uses
kitty_mod+alt+s(Ctrl+Shift+Alt+Sby default), which is free:kitty_mod+altonly usesf,r,tandvin the default map.Changes
kitty/options/definition.py+kitty/options/types.py: new default binding, help text mentions it.docs/basic.rst,docs/changelog.rst,RACCOURCIS-CLAVIER.md: documented shortcut.kitty_tests/options.py: regression test that the search has exactly one default shortcut and that no other action shares its trigger.The remaining duplicate in the default map is the documented file-manager takeover of
kitty_mod+e(see the changelog) and thekitty_mod+hconflict tracked in #46.Tests
python3 -m unittest kitty_tests.options.TestConfParsing.test_default_search_shortcutruff check/ruff format --checkThe resolved keymap was inspected with
resolve_kitty_mod(); the terminal itself was not run.Fixes #45