|
|
发表于 2008-4-23 16:44:39
|
显示全部楼层
放在 ~/.gvimrc 里面
我以前也遇到过这个问题- $ cat /home/gps/.gvimrc
- colorscheme evening " 设置工作模式为夜间
- "--------------------------------------
- set ambiwidth=double
- "--------------------------------------
- "guifont=Courier_New:h12:cANSI
- "set guifont=Terminal\ 10
- "set guifont=AR\ PL\ New\ Sung\ 10
- "--------------------------------------
- set guifont=Bitstream\ Vera\ Sans\ Mono\ 9 "正在使用的
- "--------------------------------------
- ""Toggle Menu and Toolbar
- set guioptions-=m
- set guioptions-=T
- map <silent> <F2> :if &guioptions =~# 'T' <Bar>
- \set guioptions-=T <Bar>
- \set guioptions-=m <bar>
- \else <Bar>
- \set guioptions+=T <Bar>
- \set guioptions+=m <Bar>
- \endif<CR>
- "--------------------------------------
复制代码 |
|