|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: Re: MacVim's tab-bar appearance - msg#00214List: editors.vim.mac
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
> > to only display the buffer > > names. If you think the tabs are too > > narrow then you can also try fiddling with the user default > > MMTabMinWidth and friends. Check out > > >http://code.google.com/p/macvim/wiki/UserDefaults > > MMTabMinWidth doesn't seem to have an effect. I see no difference > upon quitting and restarting MacVim after issuing either of these > commands. > > slothbear:~ marvin$ defaults write org.vim.MacVim MMTabMinWidth 60 > slothbear:~ marvin$ defaults write org.vim.MacVim MMTabMinWidth 100 Sorry, I should have been a bit more clear since the tab width options are kind of finicky. If you only have two tabs open (assuming your window isn't very narrow) then they will be as wide as specified by MMTabOptimumWidth. Once the tabs start filling out the window width, then MMTabMinWidth makes a difference. So try this defaults write org.vim.MacVim MMTabOptimumWidth 200 defaults write org.vim.MacVim MMTabMinWidth 100 The defaults for these options are 132 and 64, respectively (these are set in the beginning of MMAppController.m). Note that you might have to change MMTabMaxWidth if you make the optimum width very large. > FWIW, MMTabMinWidth it wasn't listed when I invoked "defaults read > org.vim.MacVim" until after I set it, so I'm tempted to believe the > wiki: "this list may well be out of date". No, this is actually how user defaults work; the default values are specified in the code (MMAppController) and unless the user changes these (e.g. with "defaults") then they will not appear in the org.vim.MacVim.plist. As soon as you use "defaults" though, the values will be written to the plist (even if you set the same values as the default). The user defaults wiki page should be up-to-date at the moment. (shock horror!) /Björn --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
Thread at a glance:
Previous Message by Date:Re: MacVim's tab-bar appearance>> Or we can have the tabs fill >> the entire width of MacVIM. For example, The first tab fills the >> entire window width, 50% each for two tabs, etc. > > I'm not sure if PSMTabBarControl is that flexible, but if it's easy to > add then sure. Some gvim version (GTK?) does that, it looks hideous. Please keep it as it is. Nico --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~--- Next Message by Date:Re: MacVim.git at repo.or.cz> > I have set up a public git repo athttp://repo.or.czfor MacVim now. > > Congratulations! > > Another feature of repo.or.cz that list-lurkers might find useful: You > can keep up-to-date with MacVim development by watching this page: > > http://repo.or.cz/w/MacVim.git?a=shortlog > > ...which includes an RSS feed. Also, you can download a tarball of any > particular revision by clicking the "snapshot" link at the end of each > row. Interesting...I did not know about that. :-) > > This command will create a > > folder called "MacVim" and put all the files in there, including the > > (patched) Vim source as well as the MacVim source. So after cloning > > the git repo you can immediately compile and run MacVim. > > This is largely covered on the Building page on the MacVim site, but > here's a quick intro to building MacVim for yourself: > > git-clone git://repo.or.cz/MacVim.git > cd MacVim/src > ./configure --with-features=huge --enable-gui=macvim > make > cd MacVim # (yes, another MacVim directory inside MacVim/src) > xcodebuild > open build/Release/MacVim.app Thanks for trying this out and letting everybody know about it. > > As soon as I get a proper hang of how git works I will update the docs > > on the MacVim wiki with a brief tutorial on how to contribute with > > patches to the MacVim project. Until then you should probably head > > over tohttp://git.or.czand check out the documentation if you don't > > know git. > > It might be useful to push an "upstream-vim" branch to repo.or.cz as > well, if only for diffing purposes. It's pretty easy to find the most > recent vanilla Vim revision by looking at gitk (or for the DHTML- > happy,http://repo.or.cz/git-browser/by-commit.html?r=MacVim.git) but > it would be nice to have a symbolic name as well. I am confused. I created the repo largely following the guide you set up (which was great by the way), so in my local repo I have a remote branch called svn-vim which tracks the vim svn repo. I.e. my local .git/config has this entry [svn-remote "svn-vim"] url = https://vim.svn.sourceforge.net/svnroot/vim/trunk fetch = :refs/remotes/svn-vim When I set up the repo.or.cz MacVim.git repo I did this git push git+ssh://repo.or.cz/srv/git/MacVim.git master which only pushed my local master branch. After reading your post I thought I'd try to push the vim-svn branch as well by doing this git push git+ssh://repo.or.cz/srv/git/MacVim.git svn-vim and something did happen because a little "svn-vim" icon appeared in the shortlog on the MacVim page on repo.or.cz. However, after cloning the public repo I don't see the svn-vim branch (only the master branch). Am I going to have to keep my local repo around for each time I want to pull the svn-vim branch (using git-svn), or is there some way I can do this from a repo cloned from the pulic repo? (I need to pull, using git-svn fetch or git-svn rebase, from svn-vim whenever the vim svn repo updates.) Do you (Tim, or anybody else reading this) know how I can update from the vim svn repo using a clone of the public MacVim.git repo? Must I keep my (initial) local repo around to do this? /Björn --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~--- Previous Message by Thread:Re: MacVim's tab-bar appearanceOn Oct 18, 2007, at 4:32 PM, Brett Calcott wrote: >>> :set guitablabel=%f > > I use %t, which just gives the file name. Perfecto! Gracias, Marvin Humphrey Rectangular Research http://www.rectangular.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~--- Next Message by Thread:Re: MacVim's tab-bar appearanceOn Oct 19, 4:37 am, "björn" <bjorn.winck...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: > Getting back to Tim's original suggestion to change the tab > appearance. This is one of these issues that I don't really want to > discuss since it is a matter of taste (or lack thereof ;-) ). I > pondered adding the option to choose which "style" to use and I might > look into this but I don't feel that it is very urgent (I'll put it on > my todo though). Well, I wasn't asking for yet another appearance option - despotic declaration would be fine by me. :) Having checked out the new Git repository, I figured out how to build MacVim with Unified tabs, and I don't think it looks too bad: http://home.aanet.com.au/Screwtape/macvim-unified.png :) --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
blog comments powered by Disqus
|
|