wet-sandwich / hyper.nvim

MIT License
47 stars 0 forks source link

Remap <c-c> to <c-q>? #34

Open Frying7415 opened 2 weeks ago

Frying7415 commented 2 weeks ago

I'd suggest considering remapping the quit combination to or following the standard set by other neovim plugins which open in some kind of detached from main area window\buffer.

wet-sandwich commented 2 weeks ago

As far as I could tell, using <c-c> seems like the neovim way. It's what telescope uses for closing the window. I can also see the case for q (which is used for closing certain menus in hyper), which lazy and lazygit use. I might add that as a user-configurable option so people can set what they want.

Frying7415 commented 2 weeks ago

@wet-sandwich Thanks for the reply! Yes, adding it as a configurable option would be nice. As to <c-c> being neovim way - I won't argue on that, but using a lunarvim setup everything uses some combination of keys including <q> to "quit" - starting from vim quit commands, closing buffers all the way to Lazy, lazygit, Mason, Telescope, every help menu and so on. So that's where the proposal comes from.