Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing ESC while in search mode will bypass input to search so that keycommands can be pressed. #430

Open
ghost opened this issue Apr 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Apr 24, 2024

I have FocusPreviousWindow and FocusNextWindow remapped to h and l respectively, and I exclusively use j and k for movement between selections. In the search bar, Ctrl-n and Ctrl-p still work for selecting, but j and k are captured by the search bar. Likewise in the search page, tab and shift-tab still work, but h and l are captured.

The ideal solution would be to make it so when esc is pressed, (vim style) text no longer is captured by search, and "i", or "gi" can be pressed to return to insert mode. Also, if enter is pressed, focus should automatically go to the results window.

@ghost ghost added the enhancement New feature or request label Apr 24, 2024
@ghost
Copy link
Author

ghost commented Apr 24, 2024

In the search bar, escape closes the bar entirely, cancelling the search. I guess it makes more sense for esc to be cancel, and use enter to focus on the results window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants