On Tuesday, October 2, 2012 3:34:58 AM UTC-5, Jürgen Krämer wrote:
>
> I don't know if there is a function which gives you all existing buffers,
>
The best I know of is tabpagebuflist()
> but you can loop through buffer numbers from 1 to bufnr('$') and check if
>
> the buffer really exists with bufexists().
>
>
>
> Buffer-local variables can be read with getbufvar().
>
>
See also getwinvar(), gettabvar(), gettabwinvar(), and the "set" function for all of these.