mason.nvim
mason.nvim copied to clipboard
Provide custom keybind for closing window
I've searched open issues for similar requests
- [X] Yes
Is your feature request related to a problem? Please describe.
I want to unbind <Esc> whenever mason window opened, because I used it to clear the search highlight (mostly after searching the package name).
It seems like it is not possible to do so.
q is okay thou, but not <esc> please ??
Describe the solution you'd like
Let's just use q as the default keymap and provide an option to replace it.
Describe potential alternatives you've considered
No response
Additional context
No response
I'd also override pre-existing mappings. For example, I use <C-c> for closing windows, and mason does not redefine it to the 'cancel' action.