Monday, October 24, 2011

Re: Ask ViM Process for open documents

On Oct 24, 2011, at 4:30 PM, Marcin Szamotulski wrote:

> On 14:38 Mon 24 Oct , Wael Nasreddine wrote:
>> Hello,
>>
>> I'm trying to find a way to support ViM in WatchTower, a project of mine to track spent time per project per file, and to do that I have to know which documents are currently open in all ViM processes, so is there a way (or a plugin) that can provide me with absolute paths to all open documents in all buffers ?
>>
>> Best Regards,
>> Wael Nasreddine
>>
>> --
>> Wael Nasreddine: Design & Coding at TechnoGate
>> contact | wael.nasreddine@gmail.com - +33.6.41.68.38.35 | skype - eMxyzptlk
>>
>> --
>> 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
>
> Hi,
>
> I wrote myself a small script to list all buffers opened in all running vim's.
> It consists of two files
> bls which is a python script
> vim.vim which should be put in $VIM_RUNTIME/autoload directory.

Thank you, it might be exactly what i'm looking for, I'll try it tonight and report back..

Wael

> Hope this will help you.
> Best,
> Marcin Szamotulski
>
> --
> 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
> <bls.txt><vim.vim>

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