erev, 1 year ago :x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.
:x will save and exit. The difference between :x and :wq is that the latter will always write to the buffer, while the former will only do so if theres a change.
:x
:wq