2006/4/13, Bram Moolenaar <[EMAIL PROTECTED]>:
>
> Wojtek Pilorz wrote:
>
> > I have build gvim 7.0d on Fedora Core 4 as
> > 'Big version with GTK2 GUI.'
> >
> > I have noticed the following behaviour with multple tab pages (gvim);
> >
> > 1. You can switch with Ctrl-Pgup - Ctrl-PgDown when in normal mode;
> > In insert and replace mode you need to type Ctrl-O Ctrl-Pgup/PgDown
> > (perhaps should be documented?)
>
> It is documented.
I could not find that, at least in tabpage.txt.
And I do not think it is obvious.

>
> > 2. In Visual mode Ctrl-O is not needed, but text is unselected (can
> > restore visual selection with gv)
> Visual mode is stopped when switching to another tab page.  I don't see
> how it would work otherwise.
>
> > 3. When within search prompt started with "/" or ex prompt started with ":",
> > I could not find any way to switch tab pages. If this is intentional,
> > It should perhaps also be documented.
>
> You can't document all things that don't work.  When editing the command
> line you can't change to another window.  Has always been like that.
I misunderstood vim here; I thought command line is local to tab;
You can have different command line area height in different tabs, so
indeed there is some kind of 'localness'.

>
> > 4. Selecting font with Edit/Select Font changes font for all tab pages.
> > I think it would be very useful to have also an option to have
> > different fonts (or at least different font sizes) in tab pages.
>
> That is not possible, the font is used for everything, also the command
> line.  The Vim window resizes too.
>
OK. Maybe I am spoilt by kde 3.5 konsole, where font and font size is
local to tab.


> > 5. When several files with long file names are opened, not all tabs
> > fit into GUI tab line;
> > I could find no way to swich tab pages that did not fit on tabline
> > with mouse - tabs are not scrollable; popup menu activated with Right
> > Click on tabline does not offer an option to swich tabs; and there is
> > no free space to click.
>
> Depends on the GUI.  My opinion is that the tabs should fit, otherwise
> the whole purpose of using tabs (accessing them with a single click) is
> defeated.  If really needed, there could be a menu to show the tabs that
> don't fit.  Scrolling the tabs is a really bad solution (Motif does it
> anyway...).
I can agree with that. However, current behaviour with gvim7.0d and
GTK2 is also not good; if file names are too long so that some tabs do
not fit on tabline, the active tabpage label is not necessarily
displayed, switching tabs to those with invisible labels is possible
only from keyboard.

In other software I can see that Firefox shorten labels; when mouse
pointer is placed on such shorten label, full tab title is displayed
in termporary yellow box (just like description of icons in GTK2 gvim)
In OpenOffice calc tab labels can be scrolled;
In kde 3.5 konsole tab labels can also be scrolled.

I do not have strong opinion whether shortening names should be
preferred to scrolling.

>
> > 6. It would be useful if switch to previous tab could be activated
> > with mouse, perhaps Middle button-Click of Shift+left button click?
>
> What is the previous tab?
I meant tab page with number less by one (modulo number of tab pages).
I just like symmetry (maybe too much ...)

>
> > Also, next/previous tab in tabline popup menu would be convenient.
>
> That is more work than clicking in the tab, doesn't make sense.  For
> some GUIs and with the console a click right of the tab labels cycles
> through them.
Sure. My comment was pehaps motivated by the test with long file
names, where some tab labels were invisible (and there was no 'right
of the tab labels' place on tabline)

I must say I personally like tabs feature very much.
I just thought about people new to vim and their possible problems.

Best regards,

Wojtek

Reply via email to