LoginSignup
0
1

More than 3 years have passed since last update.

【秒】vim操作時の'readonly' オプションが設定されています (! を追加で上書き、と言われた状態で保存してvimから抜け出す方法

Last updated at Posted at 2020-04-20

自分用に残します。

参考記事
https://qiita.com/shuthimaru/items/2334f63845d8b0d85bdd

・編集が終わったらescキーをクリック。

下記を入力。空白も関係してきます。

:w !sudo tee %

なんか言われても気にせずにすぐさま下記を入力。

:q!

終わりです。

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