On 3 October 2010 06:58, Gabe da Silveira <[email protected]> wrote: > I've been very pleased with the modern vim tools and the transition is > going pretty well. There's one little pet peeve so far, however. The > GUI tabs are all fixed width, unlike the terminal VIM tabs or the > TextMate tabs which grow to the size of the filename. This is > probably a non-issue for some, but in my case it's not uncommon to > have half a dozen or more files with the same 15-char prefix (ie. what > fits on the standard tab), which makes tabs surprisingly unusable. > What are the chances of getting tabs that auto-size to the length of > the filename?
You can change the default tab size by setting some user defaults (listed under ":h user-defaults"). To make the default size bigger you need to set the "optimum" size as well as the maximum size. Open up Terminal.app and type, e.g. defaults write org.vim.MacVim MMTabOptimumWidth 500 defaults write org.vim.MacVim MMTabMaxWidth 800 The PSMTabBarControl framework that MacVim uses does support setting all tabs to fit the tab label length but it worked poorly and so was disabled way back (if I remember correctly). However this is also more in line with how Safari tabs work (whether that is a good or a bad thing is debatable, but as a rule of thumb I try to follow the behavior of Apple apps). Björn -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
