LoginSignup
0
1

More than 1 year has passed since last update.

Vim | 編集内容を破棄してからファイルを開き直すより簡単なこと ( :e! )

Last updated at Posted at 2016-07-09

:e! でファイルを「最後の保存状態」に戻せる。

ファイルを開いて。

image

編集しても。

image

:e!

image

戻せる!

image

「戻した」のを「戻す」には

u ( undo ) と打つ 。

image

今までは

  • :q
  • $ vim [file]

でファイルを開き直していた。

参考

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1