How can I keep a buffer list per window in Vim?
I'm surprised that I haven't been able to find an answer to this, but maybe I'm missing something obvious: is it possible to keep a buffer list per window? I often have around 4 splits, and each one typically serves a specific purpose: CSS in one, JS in another, HTML in a few others, etc.
What I'm probably looking for is a plugin that accomplishes this. Lately I've been using BufExplorer, which does have a setting allowing you to keep its list of buffers per tab, but not per window.
I really like the MRU listing that BufExplorer has, but I find it annoying that it's based on my global list of buffers - what I want is a MRU history per window.
IMHO, What you really need is a Work Space manager.
you can find one for vim @ http://www.vim.org/scripts/script.php?script_id=1410
It will provide you following commands:
:WsAddFile Add a new file to the workspace.
:WsAddGroup Add a new group to the workspace.
:WsClose Close the workspace window.
:WsInsertFile Insert a file.
:WsInsertGroup Insert a group.
:WsOpen Open a workspace and display it in a window.
:WsRun Run a command using the selected unquoted file names.
:WsRunq Run a command using the selected quoted file names.
:WsSave Save the workspace.
:WsSessionOpen Open the workspace and Vim session.
:WsSessionSave Save the workspace and the Vim session.
:WsToggle Open or Close the workspace window.
I've a screen shot of working with Workspace manager with 4+ windows posted on my fb, you can view it there (which is public).
It's not exactly a list of buffers as you wanted it, but you can open files in different windows, and in multiple buffers in same window.
In the later case, workspace manager will serve as a buffer list. As you can see in screenshot, I've grouped files into different groups.
This is as close as what you can get, AFIK.
Good day.