:x
.
:w
is almost the same as quitting with :q
after saving with :w
.
However, the difference is that the file is saved only when there is a change.
Benefit: The easiest to type
Original by
Vim | 意外と知らない :x コマンド ( 保存+終了 )
:x
.
:w
is almost the same as quitting with :q
after saving with :w
.
However, the difference is that the file is saved only when there is a change.
Benefit: The easiest to type
Vim | 意外と知らない :x コマンド ( 保存+終了 )