++ in vim命令

tau*_*tau 2 vi vim

++在vim 中意味着什么?

例如,:e ++ff=dos.我理解,e并且ff=dos不确定++那里有多适合.

Ken*_*ent 7

:h ++opt 细节

The [++opt] argument can be used to force the value of 'fileformat',
'fileencoding' or 'binary' to a value for one command, and to specify the
behavior for bad characters.  The form is: >
    ++{optname}
Or: >
    ++{optname}={value}

Where {optname} is one of:      *++ff* *++enc* *++bin* *++nobin* *++edit*
    ff     or  fileformat   overrides 'fileformat'
    enc    or  encoding     overrides 'fileencoding'
    bin    or  binary       sets 'binary'
    nobin  or  nobinary     resets 'binary'
    bad             specifies behavior for bad characters
    edit            for |:read| only: keep option values as if editing
                a file
Run Code Online (Sandbox Code Playgroud)

您问题中的cmd:

:e ++ff=dos 
Run Code Online (Sandbox Code Playgroud)

表示将fileformat设置为"dos"再次编辑同一文件