-
Notifications
You must be signed in to change notification settings - Fork 59
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
:x closes Atom #167
Comments
Yep. This was pretty annoying to me too. I kept accidentally doing that over and over. Here's how I fixed it. # init.coffee
atom.packages.onDidActivatePackage (pack) ->
if pack.name == 'ex-mode'
Ex = pack.mainModule.provideEx()
Ex.registerAlias 'x', 'wq' |
Nice! Thank you! Feels like it should be built into ex-mode, so I'll leave this open, but that's a great workaround. |
In vim `:x` is analogous to `:wq`. This fixes `:x` so that it doesn't act like `:wqall`. Addresses lloeki#167
I got the problem too. Thanks for your solution. @zephraph |
This should be fixed in v0.14.0, please update ex-mode and restart Atom. |
Great! It fixed in v0.14.0 by updating. Thanks a lot! @jazzpi |
Hey! Thanks for this. Makes atom feel more familiar. :)
One quirk though: When I use
:x
it closes atom entirely, not just the current file. The:q
command works just fine, however.The text was updated successfully, but these errors were encountered: