Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Vim Editing non-text Files

Shulou Source: shulou.com Published: 2022-06-03 05:34:23 11月24日 Update

: 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

Tags: File format password network binary address encryption garbled function content hexadecimal character situation error open time input text Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Redmi Shulou Tech Info Linux MariaDB