On 31/07/09 08:17, googler wrote:
>
>
>
> On Jul 31, 12:27 am, KKde<[email protected]>  wrote:
>>> Also, how do I get the name of the buffers and their attributes (like
>>> active/hidden, etc)? Which variables are these stored in?
>>
>> you can get the buffers list and their attributes by this way in
>> script
>>
>> exe "buffers"
>>
>> Thanks,
>> Sarath
>
> Where will the output of an exe command go? I need to capture the
> information and extract the name and attribute of each file/buffer.
> Will I be able to do that using exe "buffers"? Thanks.

":exe" isn't needed in this case.

About how to capture the output, see ":help :redir"


Best regards,
Tony.
-- 
Miss, n.:
        A title with which we brand unmarried women to indicate that
they are in the market.
                -- Ambrose Bierce, "The Devil's Dictionary"

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to