4 ms·
:wq is still :q, just saving before exiting. The flavors are just different ways to deal with changes, with ZZ (:x) and ZQ (:q!) being aliases to the most usefu
by worksonmine 4y ago
:wq is still :q, just saving before exiting. The flavors are just different ways to deal with changes, with ZZ (:x) and ZQ (:q!) being aliases to the most useful ones.
This is not unique to vim, other editors handle it with prompts and buttons.
- Izkata 4y agoThen there's also :wqa and :xa, which are like :wq and :x except they apply to all open buffers instead of just the current one.