-
Notifications
You must be signed in to change notification settings - Fork 299
Default neovim tabs behaving weirdly #1174
Comments
I believe I’ve created an issue for this. Away from keyboard at the moment. Oni encourages use of buffers but I agree it would be nice if this tabs bug was fixed. I’m a heavy tabs user, so it’s currently blocking my use case. I’m not clear what the benefit of being buffer centric is. The downside of tabs is that it makes it harder to implement docked panels - but Oni implements those itself anyways so I don’t know what the remaining trade offs are. |
To me at least, I find being buffer centric more new user-friendly, in most cases. Being buffer centric means that situation, and any plugins etc that mess and open up buffers, or new users that open up buffers accidentaly etc, can more easily swap back. I might be biased since I took forever to get my head around the concepts of buffers. That said... setting |
Thanks @Bretley for logging the issue!
For this particular issue, as @CrossR mentioned, should work correctly with Let me know if you're doing / seeing something different, @Bretley !
Yes, @CrossR described this well - buffers-per-tab is a similiar model to other editors like VSCode/Atom/Sublime. They don't really have a concept that maps to 'vim tabs'. IMO, 'tabs' in Vim are somewhat poorly named... they should be 'window layouts' or something (at least from my perspective) We had a few discussions in the past around this, some of these conversations may be relevant:
This does keep coming up though as a blocker for vim use cases, and because people have voiced it as a consistent blocker, I've started to backpedal a bit and wonder if we could get the best of both worlds:
To a novice user coming from Atom, Sublime, VSCode - I think the behavior would be pretty similiar. It's only once they start getting into splitting / rename tabs / etc that it might get more interesting. For an experienced Vim user, they'd have a nice experience for tabs out of the box, and also get the benefit of seeing the list of buffers in our sidebar (eventually): I've heard the feedback that the buffer-by-default approach isn't ideal.... perhaps it's worth pivoting and trying the above out? If we can satisfy both the novice user + experienced user scenarios, that'd be awesome. Let me know what you think.
Oh and @jordwalke I poked around looking for this in our issues - do you have more info on the blocker you're hitting? Is the same |
This might very well be a tabs v. spaces sort of comment but I think if oni is to appeal to longterm vim users a |
@Akin909, I agree. I would like to add that personally, I prefer splitting vertically and horizontally, rather than using tabs. So when working on |
I'll close this out since we swapped to |
I'm not entirely sure what's wrong here but doing :tabnew then :tabprev hides the newly created tab... I'm going to try and hunt down some init.vim fixes
The text was updated successfully, but these errors were encountered: