-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Quit with ZZ like in vim #2041
Comments
For me, # on unix: ~/.config/helix/config.toml
[keys.normal]
Z = { Z = ":wq" } works when editing a buffer with a name (like |
I'm on a mac. With that config I get
when trying to open the config with hx |
Are you using the latest release |
I'm on 22.03 installed with homebrew. Using same path as you |
I just compiled the version 22.05-dev and it has the same issue |
What's the full contents of your config file? Could you paste |
I just noticed a mistake. It works now. Really sorry. Great editor btw |
That appears to be that the LSP formatting request timed out (currently it blocks quit while formatting). I think that same behavior should happen if you use |
You are right, but this behaviour is really bad! I hope it can be fixed soon. |
Binding ZZ like this definitely works, I've had and used that binding for as long as I've used helix. This looks like a very similar problem to #1639, i.e. your LSP is taking a long time for some reason, which there's not much we can do, except work around it by adding timeouts. In the meantime, I suggest investigating why your LSP is getting stuck. |
There is a minor issue with Steps to reproduce:
What to expect: What to observe: Workaround Why ZZ doesn't work in Helix?
However in Helix:
Proposed solutions |
Describe your feature request
Tried doing a remap with Z = { Z = ":wq" } but it didn't work
The text was updated successfully, but these errors were encountered: