Thank you yet again!
For this specific feature, trying to change the text buffer instead of the tab will is better because of two things:
- There will be no animation while creating or destroying a tab
- Make sure that the tab will be kept in the same position.
I’ll try to develop the switch text buffer soon, but right now the destroy window works very well.
On vim using only tabs it is not an option because many commands works on buffer only (like the vim command grep, for example). But there are at least some organizational advantages - a tab has many buffers. Would be the same than having a new tab of tabs. I use both tabs and buffers on my day-to-day development with vim.
Other advantage of having support to buffers is that you can have two tabs showing the same files on diferent points. This is the advantage that atom have by using text buffer, since one editor can only have one text buffer, but the text buffer can have more than one editor. But I understand that you are more interested in many text buffers for the same viewport feature.
The truth is that I don’t know how to use other text editors. I have been working on vim for so long that I can’t tell. Since I decided to use atom for a while, I’m be forced to evaluate wheter buffers are need or not. So maybe we can talk about this after a while?