On Thu, Nov 21, 2013 at 5:10 PM, av <[email protected]> wrote:
> Hi,
>
> Is there a way to see for each tabs only the files opened in that tab? The
> ls or buffers command will show all buffers for all tabs, I would like the
> tab to behave like mini projects or categories of tasks.
>
> thank you,
>
> Alexandre
>
Once you decide exactly what you want, you can construct a function,
command, or mapping to do it in a few keystrokes. One option is
:let foo = []
:windo let foo += [expand('%')]
:echo foo
Another option, which will only work well when saved as a function, is
: for bufnr in tabpagebuflist()
: echo bufname(bufnr)
: endfor
:help :windo
:help tabpagebuflist()
HTH
--
Benji Fisher
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.