vim: Add ZZ and ZQ (#2950)

The major change here is a refactoring to allow controling the save
behaviour when closing items, which is pre-work needed for vim command
palette.

For zed-industries/community#1868

Release Notes:

- vim: Add `ZZ` and `ZQ` to close the current item.
([#1868](https://github.com/zed-industries/community/issues/1868))
e29ce489c8Conrad Irwin committed on 9/8/2023, 10:58:04 PM· committed by GitHubparents5d782b64c92172
8 files changedLine totals unavailable