我的macvim无法正常显示中文字符,它向我显示正方形?
。
我尝试将此set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
放入我的.vimrc
文件中,但问题仍未解决。
这是我的.vimrc
文件。
set encoding=utf-8
set rtp+=~/.vim/bundle/neobundle.vim/
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
set guifont=Monaco:h15
colorscheme Tomorrow-Night-Eighties
runtime! custom_preconfig/*.vim
runtime! common_config/*.vim
runtime! custom_config/*.vim
" for git, add spell checking and automatic wrapping at 80 columns
autocmd Filetype gitcommit setlocal spell textwidth=80
map <F1> <Esc>
" auto complete special keyword such as _ and - for css and scss 48-57 means
" unicode character
autocmd FileType css,scss,coffee set iskeyword=@,48-57,_,-,?,!,192-255
" autosave on focus lost
:au FocusLost * silent! wa