LoginSignup
6
4

More than 5 years have passed since last update.

vi ターミナル操作参考サイト

Posted at

vi コマンド

vi
http://feb19.jp/blog/archives/000226.php

viでsudo忘れて、保存できない時の対処方

下記urlを参照
http://dev.koba206.com/?p=298

:w
E45: 'readonly' option is set (add ! to override)

:w !sudo tee %
Press ENTER or type command to continue
W12: Warning: File "Targets" has changed and the buffer was changed in Vim as well
See ":help W12" for more info.
[O]K, (L)oad File:
:q!
6
4
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
6
4