代码: 全选
"set lines=50
"set columns=170
"gvim启动全屏(后来发现仅适用Windows)
"autocmd GUIEnter * simalt ~x
"silent !wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
“http://forum.ubuntu.com.cn/viewtopic.php?t=55571&sid=74af985e7aea58201d421f744918d913
“http://fluxbox.sourceforge.net/docbook/zh_cn/html/ch03s05.html
autocmd GUIEnter * silent !wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
要首先安装wmctrl。如果要弄全屏,请将参数改为fullscreen
感谢ee,感谢uniharmony。