|
|
@ -64,7 +64,9 @@ set scrolloff=8 |
|
|
|
" gVim automatically maximize when it open |
|
|
|
" gVim automatically maximize when it open |
|
|
|
" 启动时最大化gVim |
|
|
|
" 启动时最大化gVim |
|
|
|
" http://superuser.com/questions/140419/how-to-start-gvim-maximized |
|
|
|
" http://superuser.com/questions/140419/how-to-start-gvim-maximized |
|
|
|
|
|
|
|
if g:iswindows |
|
|
|
au GUIEnter * simalt ~x |
|
|
|
au GUIEnter * simalt ~x |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
" 如下命令使鼠标用起来象微软 Windows |
|
|
|
" 如下命令使鼠标用起来象微软 Windows |
|
|
|
behave mswin |
|
|
|
behave mswin |
|
|
@ -142,10 +144,13 @@ endif |
|
|
|
|
|
|
|
|
|
|
|
set nobomb "不自动设置字节序标记 |
|
|
|
set nobomb "不自动设置字节序标记 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if g:iswindows |
|
|
|
set guifont=Courier\ New\:h12 |
|
|
|
set guifont=Courier\ New\:h12 |
|
|
|
" set guifont=Droid\ Sans\ Mono\ for\ Powerline\:h12 |
|
|
|
" set guifont=Droid\ Sans\ Mono\ for\ Powerline\:h12 |
|
|
|
set guifontwide=NSimsun\:h12 |
|
|
|
set guifontwide=NSimsun\:h12 |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
set guifont=Monaco:h12 |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
" => Files, backups and undo |
|
|
|
" => Files, backups and undo |
|
|
@ -156,6 +161,9 @@ set nobackup |
|
|
|
set nowb |
|
|
|
set nowb |
|
|
|
set noswapfile |
|
|
|
set noswapfile |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Turn off undo file, keep annoying "un~" file away |
|
|
|
|
|
|
|
set noundofile |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
" => Text, tab and indent related |
|
|
|
" => Text, tab and indent related |
|
|
|