如何让macvim选项卡以图形方式显示?

Pau*_*eon 9 macos vim macvim

我已经安装了macvim brew install macvim并打开首选项中的"为每个文件添加一个选项卡"选项,但我得到的选项卡是VIM样式选项卡.不是您在macvim主页上看到的操作系统标签:http://code.google.com/p/macvim/.请参阅下面的截图.

有什么办法可以获得操作系统标签吗?

Macvim截图

K Z*_*K Z 17

试试吧set guioptions+=e.这应该可以解决您的问题.

来自help guioptions:

'e'     Add tab pages when indicated with 'showtabline'.
        'guitablabel' can be used to change the text in the labels.
        When 'e' is missing a non-GUI tab pages line may be used.
        The GUI tabs are only supported on some systems, currently
        GTK, Motif, Mac OS/X and MS-Windows.
Run Code Online (Sandbox Code Playgroud)

要查看您的当前价值,请guioptions执行:set guioptions?

你很可能从你的手中.vimrc删除eguioptions.这是我的guioptions工作方式你想要的: guioptions=gtrLme