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

Split Terminal in any direction #162710

Closed
globalhuman opened this issue Oct 5, 2022 · 4 comments
Closed

Split Terminal in any direction #162710

globalhuman opened this issue Oct 5, 2022 · 4 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@globalhuman
Copy link

Currently the actions available to split the terminal are:

  • workbench.action.terminal.split

It would be great to have support as is with the editor workbench.action.splitEditorDown.

This would enable better usage of the terminals in the editor area to enable more dense layouts https://code.visualstudio.com/updates/v1_58#_terminals-in-the-editor-area.

@globalhuman
Copy link
Author

A command I would hope to be able to use would be -> workbench.action.terminal.splitBelow

@Tyriar
Copy link
Member

Tyriar commented Oct 5, 2022

The panel uses a single dimension by design currently, you can 2d splitting by using terminals in the editor area. We plan on revisited this when we tackle #34442

@Tyriar Tyriar closed this as completed Oct 5, 2022
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 5, 2022
@globalhuman
Copy link
Author

Thanks for you response. I have actually found a workbench action which provides the functionality that I was after (similar to linux/terminator). Consider me happy 😄

Here is my addition to the keybindings.json file to use that functionality

{
    "key": "ctrl+shift+o",
    "command": "workbench.action.splitEditorToBelowGroup",
    "when": "terminalFocus && terminalProcessSupported"
  }

@Tyriar
Copy link
Member

Tyriar commented Oct 7, 2022

@globalhuman nice, I hadn't thought of using that command to do it in a single action 👍

@github-actions github-actions bot locked and limited conversation to collaborators Nov 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants