Minor enhancement for tabline

Show index (not buf number) of each buffer.
Add key mappings to switch to a buffer easily using the index.
Sorry I am new to vimscript.

How can I setup the mapping using this array if it is scoped to a script
variable?

Thanks,

On Sun, Sep 14, 2014 at 7:22 AM, Bailey Ling <notifications@github.com>
wrote:

> In autoload/airline/extensions/tabline.vim:
>
> > @@ -210,6 +211,10 @@ function! s:get_buffers()
> >      endif
> >    endif
> >
> > +  if s:buffer_idx_mode
> > +    let g:airline#extensions#tabline#buffer_idx_mode_buffers = []
>
> this doesn't need to be global, can we scope this to a script variable?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/bling/vim-airline/pull/589/files#r17519903>.
>



-- 
With Regards,

Yu Huang

Software Engineer,
Google Inc.