Skip to content

Commit

Permalink
解决基于GTK+桌面环境下gvim字体显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
fangwentong committed Jul 26, 2014
1 parent 12aa387 commit b56d0b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ nnoremap <buffer> <F10> :exec '!python' shellescape(@%, 1)<cr>
" Set extra options when running in GUI mode
if has("gui_running")
set guifont=Monaco:h14
if has("gui_gtk2") "GTK2
set guifont=Monaco\ 12, Monospace\ 12
endif
set guioptions-=T
set guioptions+=e
set guioptions-=r
Expand Down

0 comments on commit b56d0b8

Please sign in to comment.