Thursday, August 25, 2011

Re: how to rename a vim tab?

On Aug 25, 8:45 am, ping <songpingem...@gmail.com> wrote:
> thanks. but looks no luck.
> set tabline=abc only generate an extra line marked with "abc" over the
> entire tab line and make them invisible.
> at least this is in my case.
> I use vim inside gnome-terminal b.t.w
>

That's because 'tabline' applies to the entire line of tabs, not just
the current tab. It doesn't go "over the entire tabline" and it
doesn't "make it invisible", it actually replaces the entire tabline.
This is your tabline. It doesn't draw over anything, it actually IS
the tabline.

If you're using a GUI Vim, guitablabel will apply only to one tab at a
time. But with 'tabline' you have to specify the entire line of tabs
at once.

Read the help on each of these. Also see:

http://vim.wikia.com/wiki/Show_tab_number_in_your_tab_line

There's an example of 'tabline' in the comments. The tip itself uses
'guitablabel'.

I'm not going to code it up for you, especially not without a specific
description of what you want. Check the help and give it a try.

--
You received this message from the "vim_use" 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

No comments: