macOS terminal vim bug All In One
vim 中文乱码 bug
vim ❌
cat ✅
demos
not work at all ❌
$ cat ~/.vimrc
cat: /Users/xgqfrms-mbp/.vimrc: No such file or directory
$ vim ~/.vimrc
$ cat ~/.vimrc
set enc=utf8
$ vim ~/.vimrc
$ cat ~/.vimrc
set fileencodings=ucs-bom,utf-8,utf-16,gbk,big5,gb18030,latin1