Skip to content

Instantly share code, notes, and snippets.

@wvv8oo
Created May 19, 2014 06:10
Show Gist options
  • Save wvv8oo/4d6d30caf1c078576d2e to your computer and use it in GitHub Desktop.
Save wvv8oo/4d6d30caf1c078576d2e to your computer and use it in GitHub Desktop.
解决vim乱码的问题
#编辑~/.vimrc文件,加上如下几行:
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment