Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chloneda committed Nov 27, 2022
1 parent 5abf3f0 commit 08a83a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,8 @@ if(has("win32") || has("win64") || has("win95") || has("win16"))
source $VIMRUNTIME/delmenu.vim " 导入删除菜单脚本,删除乱码的菜单
source $VIMRUNTIME/menu.vim " 导入正常的菜单脚本

" GVim 启动时最大化
"autocmd GUIEnter * simalt ~x
" GVim 启动时窗口自动居中
au GUIEnter * call WindowCenterInScreen()

Expand All @@ -656,6 +658,13 @@ if(has("win32") || has("win64") || has("win95") || has("win16"))
let g:isGUI = 0
set guifont=MiscFixed\ Semi-Condensed\ 10 " 设置 Vim 字体

if exists("+lines")
set lines=45
endif
if exists("+columns")
set columns=148
endif

endif
else
" 若操作系统是 Linux 系统,设置该系统的 Vim 配置,并执行特有的自定义函数
Expand Down

0 comments on commit 08a83a4

Please sign in to comment.