-
Notifications
You must be signed in to change notification settings - Fork 21
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
Toggleable & spawnable terminal window buffer #6
Comments
Spawnable term window could be like :
idk if it would be possible to toggle a term window buffer |
this is functionally equivalent to just doing FYI: Buffers aren't windows. Neovim terminology is very specifc, this really confused me until I remembered you use bufferline.... |
This is because it fundamentally is not how windows function. Buffers are not windows. I know how to implement this, but both can't until next week, and am not sure I should given that functionally there's no difference between this and literally doing In fact, doing suspend and resume strategy is actually much better since native term is much faster than neovim emulator. |
Is this issue related to functionality where |
no, this is for toggling new terminal window ( listed ) if thats possible @zbirenbaum |
Again, what you are referring to here as a window is actually a buffer. The implementation of the behavior you are describing would be to replace the buffer in the current window with a terminal and then restore it on toggle. I just took some time to see how it would have to be implemented and came across a few problems.
This would make much more sense if it opened in a new tabpage, which would actually provide the behavior you want and have none of the above issues, but would not integrate with the plugins that treat buffers as tabs. For that reason, while I am happy to implement this with a tabpage, I don't want to do this the way you are thinking about it, as it:
It isn't undoable, so if it would really mean a lot to you to have this feature, I am willing to put in that effort to write it at some point, but I am going to have to give priority to some other features I am working on in other repos at the moment. If you want the tabpage implementation, it would be extremely quick to write, and I can do it immediately. @siduck Let me know your thoughts, and please read this carefully, as all of the above info is relevant. |
The text was updated successfully, but these errors were encountered: