Re: [cream] Problems with Tabbed mode
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: Steve H. <dig...@da...> - 2006-10-07 02:11:39
|
On Fri, 2006-10-06 at 17:47 +0100, Philip Pemberton wrote: > Steve Hall wrote: > > This is a known issue that I have procrastinated fixing forever. > > However, I just looked into it. Put this into cream-lib: > > (snip patch) > > Hmm. It loads the new file into a tab before (to the left of) the > currently-selected tab. Is it possible to make it work the other > way, i.e. dropped files get new tabs on the right of the CST? I just spent a number of hours on this, but unfortunately, Vim does not order tabs in any predictable way that I can see. Our use of :tab ball to keep all buffers in their own tabs randomly re-orders them sufficiently that I can't figure how to force a tab into a specific position. > It would be nice if you could select a tab, then right-click it and > have: Unfortunately, we have no control over the right-click menu. (The current one uses raw Vim commands, no Cream.) > Alphabetical/order opened/etc. would be nice, especially with an > "alphabetical sort, with this tab last" option, but I usually work > with my source files in this sort of order: > o main.c (leftmost) > o bar.c \ > o foo.c } no particular order > o baz.c / > o Makefile (I make a lot of makefile tweaks) That's what I do, too. The structure is logical, but not easily discoverable by a script. ("Main" can be called all sorts of things: index.html, index.php, cream-lib, css.php, lib.sh, etc.) > In any case, Steve, thanks for all the work you've been doing on > Cream. It certainly beats the alternative - digging out my Vim > reference card every five seconds... > "Now what was the command for 'open fold', zM or Zm? Or maybe it was > zm..." Thanks, I sometimes think that Cream is simply the usable manifestation of Vim's help. :) -- Steve Hall [ digitect dancingpaper com ] :: Cream... usability for Vim :: http://cream.sourceforge.net |