mason.nvim icon indicating copy to clipboard operation
mason.nvim copied to clipboard

Provide custom keybind for closing window

Open radvil opened this issue 1 year ago • 1 comments

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

radvil avatar Jan 06 '24 23:01 radvil

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.

smartinellimarco avatar Jun 24 '24 18:06 smartinellimarco