Skip to content


File marked as modified after SudoWrite #12

blueyed opened this Issue · 2 comments

2 participants


When creating a new file using :SudoWrite $filename it is considered to be modified afterwards.

  1. vim
  2. ifoo<Esc>
  3. :SudoWrite /tmp/foo

While /tmp/foo is written correctly, Vim considers it to be modified (see :set modified?).

I have tested it using revision 69e6ccd.


Try revision de00cdb

@chrisbra chrisbra closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.