gvim - VIM error when editing BAT file, prompting "Unable to open and write the file"
大家讲道理
大家讲道理 2017-05-16 16:41:31
0
1
509

As shown in the figure, 1.cmd clearly has content, but when opened by VIM, the content is empty. It seems unrecognizable. How can I edit and save directly in VIM?

The configuration of fenc.. etc. is as follows:

set encoding=utf-8
set langmenu=zh_CN.UTF-8
language messages zh_CN.UTF-8
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
set termencoding=utf-8
set fileencoding=utf-8

:version Output result:

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!