wet-sandwich / hyper.nvim

MIT License
47 stars 0 forks source link

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

Open Frying7415 opened 23 hours ago

Frying7415 commented 23 hours 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 5 hours 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 1 hour ago

@wet-sandwich Thanks for the reply! Yes, adding it as a configurable option would be nice. As to being neovim way - I won't argue on that, but using a lunarvim setup everything uses some combination of keys including 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.