Last active
January 1, 2016 08:37
-
-
Save zivee/11205620 to your computer and use it in GitHub Desktop.
Ubuntu 14.04下GVIM的字体间距过宽和显示GBK中文的设置
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Important: | |
" This requries that you install https://github.com/amix/vimrc ! | |
" | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
set encoding=utf-8 | |
"set fileencoding=chinese | |
set fileencodings=ucs-bom,utf-8,chinese | |
set ambiwidth=double | |
if has("linux") | |
"Ubuntu 14.04下GVIM的字体间距过宽 | |
set gfn=Source\ Code\ Pro\ 12,Bitstream\ Vera\ Sans\ Mono\ 11 | |
endif | |
if has("win32") | |
"解决菜单乱码 | |
source $VIMRUNTIME/delmenu.vim | |
source $VIMRUNTIME/menu.vim | |
"解决consle输出乱码 | |
language messages zh_CN.utf-8 | |
endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这里主要解决的是字体设置字体和大小间设置与通常设置不同
“:h”改为“\ ”(有空格)