Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Add support for "ZZ" command. #30

Open
jvz opened this issue May 18, 2014 · 1 comment
Open

Add support for "ZZ" command. #30

jvz opened this issue May 18, 2014 · 1 comment

Comments

@jvz
Copy link

jvz commented May 18, 2014

ZZ is an alias for ":x" (short for ":xit" or ":exit"), which itself is like ":wq" except it only writes if the file has been modified.

I can't be the only one who prefers using ZZ over :wq. If it's not too hard to contribute, I may add a PR for this.

@cldwalker
Copy link
Member

Sorry for the delay. Happy to take a pull for this. You'll just need to add an entry in vim.behaviors

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants