That's simple, put this line into your vimrc file
set guifont=Bitstream\ Vera\ Sans\ Mono:h10:cANSIVIM will be using NSimSun to display the Chinese characters. :)
set guifontwide=NSimSun:h11:cGB2312
And "Bitstream Vera Sans Mono" to be used for ANSI characters.
Indeed this option can be set locally for each individual files by using the VIM modeline
vim:ts=4:sw=4:expandtab:enc=utf8All the VIM option can be changed locally. Don't forget to put this modeline into the comments :D
VIM is fantastic cool~~~
没有评论:
发表评论