Monday, May 2, 2011

how get buffer number occurrences : in what windows, and split mode of each occurrence.

Hello

I have something like this:

-------
|tab1|
-------------------------------------------------------------------------------------------------------------------------------------------------
|
file1.txt | file1.txt
|
|
|
|
-------------------------------------------------------------------------------------------------------------------------------------------------
file1.txt

-------------------------------------------------------------------------------------------------------------------------------------------------

I want to know, how i can get all file1.txt buffer numbers
occurrences : in what windows and split mode of each window. By other
words, how i can get information that file1.txt was opened in first
tab tree times, two vertical, one horizontal.

I need to collect this information to restore view with help of
winrestcmd function. (after closes all split windows and buffer,
restore it like it was before )


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