Almost: :x is like :wq only when the buffer is modified, and like :q else (so mtime is not update).
:x
:wq
:q
Re zz and friends, H, M, and L (mnemonics, “high”, “medium”, and “low”) are also useful. They move the cursor without changing the disposition of the lines in the window.
zz
H
M
L
Almost:
:x
is like:wq
only when the buffer is modified, and like:q
else (so mtime is not update).Re
zz
and friends,H
,M
, andL
(mnemonics, “high”, “medium”, and “low”) are also useful. They move the cursor without changing the disposition of the lines in the window.