Thursday, December 15, 2011

Re: show tab number in the statusline

Hi,

Chris Lott wrote:
> I'm having no luck searching for an answer to this:
>
> How can I show the current tab number in the status line? I'd like to
> see the tab number without showing the tabs across the top of the
> screen (where I can easily get the tab number to show)...

put something like

%{'tabnr='.tabpagenr()}

at an appropriate place in your 'statusline' option.

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

--
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: