-
Notifications
You must be signed in to change notification settings - Fork 282
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
[feature request] tabs as workspaces #440
Comments
Yes, I've been thinking about this too! We're missing the 'tab' equivalent in 'vim'/'neovim' - the ability to store / persist a set of windows splits and cycle between them. This is something I'd consider tackling for the next milestone (the VSCode-integration one) - I was considering adding the following:
|
@bryphe so happy to hear you are thinking about solutions in this space!!! I would like to reference the issue that I made in the oni 1 repo about this same topic, I think there was some good discussion there. In particular, this comment is my opinion on how it could work onivim/oni#1582 (comment) (which if I understand your comment above correctly is pretty similar?) |
I miss the 'splits-in-tabs' from vim in the pre-alpha. This workspaces idea should then be "the best of both worlds" as @nwaywood said, I like it! |
It'd be nice to have a config option to have tabs/splits behave as they do in Vim. Coming from Vim and the Oni V1, I find it painful to not be able to navigate tabs like I'm used to, and it is one of the biggest reasons I didn't switch to using VSCode with the vim plugin. |
Not having vim tabs would be a deal breaker to most people coming from vim in my opinion. We could have a kind of session auto-save/load instead of introducing that workspace concept. |
Interestingly intellij has a tab less way of working, with quick switching between files for the current split which is more like working with vim. This is even their recommended way of working - |
FYI - this set of PRs #2013 #2030 #2032 added tabs - using these configuration settings:
mimics the Vim UI (no 'window tabs', and the 'vim tabs' on top) - and you can use the following tab commands:
So I believe this is addressed now with that work - but please feel free to log issues for missing scenarios or bugs 👍 |
In standard (neo)vim, tabs act as workspaces and buffers work within splits. Since with Oni 2 tabs act more similarly to buffers in standard (neo)vim, an analogue to vim "tabs" that act as workspaces would be appreciated.
Use case description: I open a single instance of a documentation buffer that I want to have be distraction free. I want to edit code, but don't want to have to keep creating and destroying a split to edit possibly related code. I open a new workspace that I can use to see multiple points in that source code file, or even multiple source files, but want to maintain that original distraction free documentation workspace. Ideally this is all in the same session, so ctrl-p and rg update properly and I don't have to worry if I open the same file in multiple workspaces, as it should be the same buffer every time.
The text was updated successfully, but these errors were encountered: