-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ Feature Request ] - Per tab buffer list like ctrl-space #230
Comments
Sorry for the delay in replying. I don't know much about ctrlspace, so I'll have to check and see if it's possible. |
No worries on the delay. There does seem to be a defined API for ctrlspace - https://github.com/vim-ctrlspace/vim-ctrlspace/blob/master/autoload/ctrlspace/api.vim However, it would be nice if ctrlspace was not required. Would it be possible for fzf-preview to have a vimscript which did some tab -> window -> buffer grokking. For example when I issue "fzf.preview.TabBuffers" fzf vim looks at the current tab, finds the windows in that tab, and then only displays the buffers of those windows for selection. Something of that nature. |
Hmm, I think it would be difficult to reimplement the ctrlspace feature, both in terms of the plugin concept and implementation. The API seems to be provided, so I'll look into it when I have time. |
This is a feature request.
I've recently been looking for a solution that implements per-tab buffer lists.
This is handy, and not a new idea. The use case is usually for browsing large code bases. You may want a tab for two particular packages in a large code base. When you're in one tab, you only want the buffers associated with files inside that package, not the other.
There is a project which does this well. https://github.com/vim-ctrlspace/vim-ctrlspace
I'm using this currently, but I also use coc and fzf-preview. It would be nice if I did not need vim-ctrlspace and could obtain per-tab buffer lists via fzf preview.
Thanks!
The text was updated successfully, but these errors were encountered: