删除 GVim 中的工具栏

发布于 2024-07-19 05:57:00 字数 35 浏览 2 评论 0原文

如何删除 GVim 中的工具栏(其中有打开的保存按钮)?

How do I remove the Toolbar (which has the open save buttons) in GVim?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

画中仙 2024-07-26 05:57:00
:set guioptions-=T

也可以看看:

:help 'guioptions'
:set guioptions-=T

See also:

:help 'guioptions'
赠意 2024-07-26 05:57:00

最好的方法是使用 -= 运算符(如 @付费书呆子)。 将此行添加到配置文件中($MYVIMRC

:set guioptions-=T

为了了解上面这行的作用(见下文),除了发出帮助命令外,还可以查找此处


我的 .vimrc 设置如下,

set guioptions=aegimrLt

其中每个选项的定义可以通过发出找到

:help guioptions

The best way to do this is to use the -= operator (as shown in the current accepted answer by @a paid nerd). Add this line to the configuration file ($MYVIMRC)

:set guioptions-=T

In order to find out what the above line does (see below), besides issuing a help command, you can also find it here.


I have my .vimrc set as follows

set guioptions=aegimrLt

where the definition for each of the options can be found by issuing

:help guioptions
笑咖 2024-07-26 05:57:00

另一个:

:set toolbar=
:help 'toolbar'

Another one:

:set toolbar=
:help 'toolbar'
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文