とすると、何もなかったかのように保存できます。 原理としては英語ですがこちらが詳しいかも。 他にはプラグインとしてSudo.vimとかSudoEdit.vimとか使うほうが ラクちんですけども。 Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing up