-
-
Notifications
You must be signed in to change notification settings - Fork 626
Add view to show open buffers only #744
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
Comments
what you describe looks like https://github.com/el-iot/buffer-tree |
That is certainly trying to solve the same problem, but it's way too basic for me and is not written as a sidebar or even a buffer that can be arranged. I'd like to implement that idea into a complete tree plugin like this so i can get auto update, styling, icons, etc. Still, I'm going to try it out in the mean time... |
This turned out to be pretty easy to add. I have a working solution in my fork: https://github.com/cseickel/nvim-tree.lua I also fixed a bug with refreshing. As it was, a lot of refresh requests were just silently dropped causing glitchy behavior with all of the toggle functions. I just need to add documentation and then I'll put in a pull request. |
Sorry @alex-courtis, I abandoned that PR and ended up creating my own tree plugin instead. |
Closing as it is covered by #1056 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I used the git filter command, and while searching for the buffer filter, I came across this post. So, I understand that there is a way to achieve what I'm looking for. However, I'm not sure how to do it. Therefore, I'm trying to search for the implementation of git filter because it has similar features. While searching, I found out that there is a custom mode. Upon reading the help document, I discovered a pre-built no_buffer filter
|
I have this idea I'd like to implement, which is to have a file explorer which can be toggled between showing all files and only the files which are currently open. The purpose of this is to provide a good representation of the workspace for the current task you are focused on, both as a visual reminder and a way to switch buffers.
This an alternative to showing buffers as tabs (which I find confusing for some reason) or having a flat list of buffers that can be referenced on command with BufExplorer or :ls. I have also tried leaving all my buffers open in small splits, but I don't always have the space for this. I think the best way to list your open buffers is as a vertical tree within their folder structure.
The workflow would be to:
I would be willing to code this and put in a PR. My questions are:
The text was updated successfully, but these errors were encountered: