简体   繁体   English

在gvim中,是否可以有多行文件选项卡?

[英]In gvim, is it possible to have multiple rows of file tabs?

In gvim, is it possible to have multiple rows of file tabs? 在gvim中,是否可以有多行文件选项卡?

That is, instead of showing left/right arrows to navigate around the tabline (for tabs that don't fit into the tabline), it should "start" a new row of tabs. 也就是说,不是显示左/右箭头在tabline周围导航(对于不适合tabline的选项卡),它应该“开始”一个新的选项卡行。

AFAIK, no, unless you intend to change vim's source. AFAIK,不,除非你打算改变vim的来源。

But, if you need that many tabs, now don't take me wrong, but if you need that many tabs you're doing something wrong. 但是,如果你需要那么多标签,现在不要误会我的意思,但是如果你需要那么多标签你就会做错事。 "Vim's way" is effective buffer and windows control. “Vim的方式”是有效的缓冲和窗口控制。 There are many nice buffer managers, which help while editing many buffers (files). 有许多漂亮的缓冲区管理器,它们在编辑许多缓冲区(文件)时提供帮助。 Try to take advantage of some of them. 尝试利用其中的一些。

:he setting-tabline will give you your options available. :he setting-tabline会为您提供选择。 Might not be exactly what you want but there are a few functions that may help you. 可能不是你想要的,但有一些功能可以帮助你。

I personally use tabs but get rid of the tabline by setting 我个人使用标签但通过设置摆脱标签

showtabline=0

As I think its just a distraction. 我认为这只是一种分心。 You can use a map to :tabs to get whats on the tabs and most buffer manager plugins are more efficient for serious editing. 您可以使用map to :tabs来获取:tabs上的内容,大多数缓冲区管理器插件对于严肃编辑更有效。 (I should qualify this I use the command line Vim editor and prefer a 'zen' like environment or clutterless as much as possible, it might not suit your needs.) (我应该对此进行限定,我使用命令行Vim编辑器,并且更喜欢像环境一样的“zen”或尽可能无杂乱,它可能不适合您的需要。)

That way I have 3 different tabs with split windows arrangements that I use for different editing tasks that I can cycle through with gt and gT . 这样我有3个不同的选项卡,分割窗口排列,我用于不同的编辑任务,我可以通过gtgT循环。

edit: 编辑:

There is now a plugin that might be worth looking at for this problem. 现在有一个插件可能值得寻找这个问题。

https://github.com/gcmt/taboo.vim https://github.com/gcmt/taboo.vim

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM