The cmd of win10 can be transparent, so I want to use vi mode. The Chinese garbled characters of gvim can be solved. However, the vi mode displays garbled characters and the input is also garbled.
The default encoding of cmd is 936. I tried changing it to 65001, but it was also garbled. I want to set everything to utf-8.
I haven’t used windows much
cmd
, so I don’t know how to set it up.Have you ever tried cygwin?
Introduction on Wiki:
if has("win32")
set encoding=utf-8,cp936
set fileencodings=cp936,utf-8,gb18030,gbk,chinese,ucs-bom,big5,euc-jp,euc-kr,latin1
set fileencoding=chinese
endif
You can read this article, I don’t know if it will be helpful to you http://edyfox.codecarver.org/html/vim_fileencodings_detection.html
Try pycharm
windows+vim is not a good choice. . A large number of plug-ins cannot be used. If you really love vim, use Linux instead. Under win. . Just make do with it