setting vim tabline

2009-03-31 Thread Nicolas Aggelidis
hi to all the list! a fellow vimmer (from the list) has posted the following tabline for gvim [i don't recall if it was exactly the same]: function! VimTabLabel() let label = '' let bufnrlist = tabpagebuflist(v:lnum) " Add '+' if one of the buffers in the tab page is modified for bufnr in bu

Re: setting vim tabline

2009-03-31 Thread Erik Falor
On Tue, Mar 31, 2009 at 02:28:12PM +0300, Nicolas Aggelidis wrote: > hi to all the list! a fellow vimmer (from the list) has posted the > following tabline for gvim [i don't recall if it was exactly the > same]: > [code snipped...] > > this function ,works great for gvim, but when i try to us

Re: setting vim tabline

2009-04-01 Thread Tony Mechelynck
On 31/03/09 17:26, Erik Falor wrote: > On Tue, Mar 31, 2009 at 02:28:12PM +0300, Nicolas Aggelidis wrote: [...] > The problem was that guitablabel isn't called from within console Vim, > so v:lnum doesn't have a valid value for the purposes of > tabpagebuflist(). > >> is there any way to convert i