Vim Editing non-text Files
: set fileformat to view the current file format, such as unix,dos,mac
Set fileformat=dos sets the current file format to dos format
First, open the network file
: edit weburl opens the network address
: split weburl opens the network address
Second, encrypt local files
Vim-x file encrypts file files. When the password is wrong, it is garbled when it is opened, and the contents can be deleted or modified to achieve destructive effect.
X is also this kind of password
Set key= did not enter anything, the situation password
Third, edit the binary file
Vim-b file binary, edit binaries
Display characters in sert display=uhex hexadecimal format