Skip to content
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

Vim style tabs #2989

Open
smbkr opened this issue Aug 24, 2018 · 9 comments
Open

Vim style tabs #2989

smbkr opened this issue Aug 24, 2018 · 9 comments

Comments

@smbkr
Copy link

smbkr commented Aug 24, 2018

Is your feature request related to a problem? Please describe.
VS Code's tab/split paradigm works differently to Vim. This can be frustrating if you're used to/prefer the way Vim works in this regard.

Describe the solution you'd like
A tab in Vim terms is more like a window (in VS Code terms), that can contain any number of arbitrary splits (Vim windows). ie. Tab 1 might contain a single window/split with one file open. Tab 2 might contain 3 windows/splits arranged in a certain way, tab 3 might contain 2 splits arranged differently.

Describe alternatives you've considered
N/A. It doesn't appear to me that it's possible to configure VSCode Vim like this currently.

I don't even know how possible this is with the VSCode extension API.

@jpoon
Copy link
Member

jpoon commented Aug 24, 2018

Dupe of #2696

@bpierce1
Copy link

bpierce1 commented Sep 20, 2018

How is this a dupe of #2696? #2696 only relates to splitting a single window (which in vim would be splitting a single tab).

What @smbkr requested (and I would also request), is essentially the ability to have multiple splits within a single vscode tab/editor.

I'm also not sure if this is possible with vscode API

@artempyanykh
Copy link

Doesn't sound like a duplicate to me either. Actually, being able to have named "Open Editors + Groups" and quickly switching between them would be absolutely amazing.

@elliotf
Copy link

elliotf commented Nov 29, 2018

To provide a use case for why I prefer the "splits inside of tabs" -- I am able to keep the implementation of a file next to its tests inside of a tab and can switch between tabs, always having the tests associated with the implementation next to each other. When doing frontend work, I also find it useful to have multiple splits for the same thing (code + template + tests) in the same tab.

Is there a way to get the "dupe" status reconsidered, @jpoon ?

@jpoon
Copy link
Member

jpoon commented Nov 29, 2018

Sorry, I misunderstood the original request. Removing the dupe label. However, AFAIK, this is not possible with VSCode APIs nor do I feel like this would be in their roadmap as it feels orthogonal to their UI design. In any case, this is more of an upstream issue so feel free to open an issue on VSCode.

@jpoon jpoon reopened this Nov 29, 2018
@elliotf
Copy link

elliotf commented Nov 29, 2018

Awesome, thank you @jpoon !

@smbkr
Copy link
Author

smbkr commented Dec 17, 2018

microsoft/vscode#36700 Issue here on the VS Code repo asking for support for this kind of functionality

@achimnol
Copy link

achimnol commented Oct 19, 2021

VSCode 1.61 (yes, it's September 2021) release now has the "split editor in group" feature, and it would be good to have an VSCodeVim option to use it for :sp and :vs (along with Ctrl+W + hjkl / arrow keys) instead of making new editor groups.

@anthony-whale
Copy link

I think this can be duped against microsoft/vscode#143024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants