Skip to content

Commit

Permalink
修复在Windows下字体显得过大的问题,在windows下不再显示特殊的符号
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Aug 5, 2015
1 parent 1d528d3 commit e891dcf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions _vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,19 @@ set guioptions-=L "隐藏左侧的滚动条
"set guifont=YaHei\ Consolas\ Hybrid\ 9.1
"set guifont=YaHei Consolas Hybrid 13
"set guifont=Courier\ New\ Bold:h13
set guifont=Consolas:h13
if (g:isWindows)
set guifont=Consolas:h11
else
set guifont=Consolas:h13
endif
"set gfw=YouYuan:h8:cGB2312
"4.体验
set noimdisable
autocmd! InsertLeave * set imdisable|set iminsert=0
autocmd! InsertEnter * set noimdisable|set iminsert=0
set shiftround "当你的缩进不成倍时,让 Vim 自动帮你把周围的缩进化零为整
set list "显示特殊符号
if g:isWindows
set list listchars=tab:▸\ ,trail:., "详细的定义显示哪些符号
else
if !g:isWindows
set list listchars=eol:¬,tab:▸\ ,trail:., "详细的定义显示哪些符号
endif
set showmatch "打开此选项使得你在输入成对的括号时,Vim 会帮助你跳转并高亮一下匹配的括号
Expand Down

0 comments on commit e891dcf

Please sign in to comment.