Is your feature request related to a problem? Please describe.
In WezTerm's search mode, the standard macOS keyboard shortcuts (Control-A, Control-E, etc.) are not supported. These shortcuts are deeply ingrained in macOS users' muscle memory and are supported by almost all text input fields across the system. The lack of support in WezTerm's search mode disrupts the user experience and workflow for macOS users.
The specific shortcuts that should work but currently don't include:
Control-A: Move to the beginning of the line
Control-E: Move to the end of the line
Control-F: Move one character forward
Control-B: Move one character backward
Control-K: Delete the text between the insertion point and the end of the line or paragraph.
Describe the solution you'd like
Add support for standard macOS text navigation shortcuts in WezTerm's search mode. While WezTerm does support custom key assignments in search mode, these specific shortcuts should work out of the box on macOS, similar to how they work in Terminal.app and other macOS applications.
The implementation should respect the platform-specific expectations, making these shortcuts work naturally for macOS users while maintaining the ability to customize them if needed.
Describe alternatives you've considered
I've looked into using custom search mode key assignments through WezTerm's configuration, but it appears this approach doesn't fully support replicating these shortcuts. If I'm mistaken about this limitation, please let me know.
Additional context
These shortcuts are part of the macOS text system and are supported system-wide, from simple text inputs to complex editors.
https://support.apple.com/en-us/102650
Is your feature request related to a problem? Please describe.
In WezTerm's search mode, the standard macOS keyboard shortcuts (Control-A, Control-E, etc.) are not supported. These shortcuts are deeply ingrained in macOS users' muscle memory and are supported by almost all text input fields across the system. The lack of support in WezTerm's search mode disrupts the user experience and workflow for macOS users.
The specific shortcuts that should work but currently don't include:
Describe the solution you'd like
Add support for standard macOS text navigation shortcuts in WezTerm's search mode. While WezTerm does support custom key assignments in search mode, these specific shortcuts should work out of the box on macOS, similar to how they work in Terminal.app and other macOS applications.
The implementation should respect the platform-specific expectations, making these shortcuts work naturally for macOS users while maintaining the ability to customize them if needed.
Describe alternatives you've considered
I've looked into using custom search mode key assignments through WezTerm's configuration, but it appears this approach doesn't fully support replicating these shortcuts. If I'm mistaken about this limitation, please let me know.
Additional context
These shortcuts are part of the macOS text system and are supported system-wide, from simple text inputs to complex editors. https://support.apple.com/en-us/102650