如何用最大化的窗口启动gvim? [英] How do I start gvim with a maximized window?

查看:525
本文介绍了如何用最大化的窗口启动gvim?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从命令行启动gvim到一个最大化的窗口 - 我该怎么做?

I would like to start gvim, from the command line, into a maximized window - how can I do this?

我不想总是从最大化窗口(即将其配置为.vimrc中的默认值),而是选择为程序提供参数。

I have no wish to always start in a maximized window (that is, not configure it as default in .vimrc), but rather choose to provide a parameter to the program.

是,运行 gvim< parameter(s)> 应该在最大化的窗口中启动程序,但只是运行 gvim 应该以默认大小启动程序。

That is, running gvim <parameter(s)> should start the program in a maximized window but just running gvim should start the program with the default size.

推荐答案

与许多其他Gtk +应用程序一样,gvim了解参数 -geometry 。尝试例如

Just like many other Gtk+ apps, gvim understands the parameter -geometry. Try for example

gvim -geometry 500x500

这篇关于如何用最大化的窗口启动gvim?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆