DEV Community

Discussion on: Using buffers, windows, and tabs efficiently in Vim

Collapse
 
iggredible profile image
Igor Irianto

I never thought of containerizing buffer in tabs before, but that's a good point. I personally don't use Vim tabs. I may have multiple Vim instances in different Tmux windows, so they are automatically containerized.

I think it comes down to a design decision. The people who wrote Vim (Bram etc) probably decided that buffers are shared objects instead of tab-specific objects. It could've gone either way haha.

Again, this is a really good point that you brought up!

Collapse
 
konfekt profile image
konfekt

vim-ctrlspace is a plug-in to containerize buffers in tabs.

Thread Thread
 
gurdeepgss profile image
thicckWire

Will look into that.

Collapse
 
gurdeepgss profile image
thicckWire

from a users perspective I think this should be configurable, for the folks who do not have tmux available (like I on my employer's windows machine).

Or I think we could make a plugin that does this somehow. I don't know the details of it, but I think it might be possible.