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 panes support #49

Closed
csrgxtu opened this issue Jul 4, 2017 · 37 comments
Closed

Split panes support #49

csrgxtu opened this issue Jul 4, 2017 · 37 comments

Comments

@csrgxtu
Copy link

csrgxtu commented Jul 4, 2017

could terminus support split screen

@Eugeny Eugeny changed the title hi, could terminus support split screen Split panes support Jul 4, 2017
@faraazahmad
Copy link

Yes please! this is a much needed and appreciated feature for productivity

@marcelosuzumura
Copy link

I use terminator a lot on Ubuntu because of the split panels, but if I could split panes with Terminus, I'd surely switch over. Terminator is crashing a lot lately.

@rianquinn
Copy link

Split panes, and multiple windows are really needed to make this a more complete terminal emulator.

@renatn
Copy link

renatn commented Apr 5, 2018

You can use Screen =) but i agree embedded feature much better

@youurayy
Copy link

youurayy commented May 30, 2018

Killer feature, e.g. when

  • managing multiple servers simultaneously and need to observe all at once
  • compiling in one view, observing reload script in another, having git in yet another, etc.

ConsoleZ has it, and very easy to create vertical splits by cmd+shift+E and horizontal splits by cmd+shift+O without limits.
Then it's possible to move between the splits in arrow-like nature: <some modifiers> + arrow -- will focus the next split up/down/left/right -- this is tricky if the splits aren't completely aligned, e.g. you have 1 vertical split with 3 horizontal splits on the left and 4 vertical splits on the right -- but let's say that the cursor will be moved to the split sharing the most border area with the current split, as the user can always adjust with multiple movements. (that kind of navigation would be even better than what ConsoleZ currently has)

@jderus
Copy link

jderus commented Jul 14, 2018

Yeah, I am gonna +1 on this request.
Right now I am swapping between a couple of different OSS terminal solutions:

  1. ConEmu (via Cmder)
  2. Hyper
  3. Terminus

I like how your approach/choices are pushing towards ng2x+. That makes me feel like I could dig in and contribute one day if I really needed to. But at the same time, some of the other approaches currently have quite a bit more features I find handy - especially splitting a tab.

I am hoping that Terminus will get there one day, especially if we pipe up and voice a desire for the feature :) In the meantime, perhaps you can draw inspiration from those other tools...

@wolf99
Copy link

wolf99 commented Aug 30, 2018

Just discovered Terminus and really like it; it is a serious contender for taking over my puritanical sticking to windows console for WSL and CMD. But only because it looks nice and it installs easy on Windows... because I can't view things side by side, and I can't open more than one instance to instead arrange the instance as panes, this is actually worse in this regard than plain old console.exe >.< - mega +1 on this request

@youurayy
Copy link

In ConsoleZ, I can quickly build up the screen I like by pressing CTRL+Shift+O (new horizontal split) and CTRL+Shift+E (new vertical split). Then I've setup CTRL+arrows to move between the created windows.

Of course ConzoleZ (and others) depend on cmd.exe/WSH, so they are nasty drain on the OS resources.

@taylorjdawson
Copy link

You can use Screen =) but i agree embedded feature much better

@renatn
What is Screen?

@jwhipp
Copy link

jwhipp commented Sep 20, 2018

I actually came here to comment on screen not being a replacement but, turns out it has that functionality. Here's a good blog on the subject:

https://tomlee.co/2011/10/gnu-screen-splitting/

Still, +1 for this being a built-in feature.

@taylorjdawson
Copy link

@jwhipp you were able to get screen splitting to work with Screen. What is your setup? I am using WSL and can't get it to work

@jwhipp
Copy link

jwhipp commented Sep 21, 2018

@taylorjdawson I haven't used it personally, I tend to use terminator with the WSL. For a while Tilix was working but it's not now.

The article I linked goes over how to run it for the most part.

@rwmyers
Copy link
Contributor

rwmyers commented Nov 11, 2018

I'd be interested in contributing this feature potentially. Any thoughts on how you'd like to go about doing it?

@Eugeny
Copy link
Owner

Eugeny commented Nov 12, 2018

It should be possible to implement splitting itself by displaying "tab sets" in tabs instead of a single BaseTabComponent. There are however problems with rearranging the splits/panels as using any kind of looping (ngFor) or component nesting means that components will get recreated, destroying the current terminal state. This can be theoretically avoided by directly attaching the components via Angular ViewRefs

@dawin09
Copy link

dawin09 commented Nov 13, 2018

I'm waiting for this feature so I can switch to terminus.

@kfir-drivenets
Copy link

Any updates on this issue?

@christian-ehrisman
Copy link

+1 for screen spliting. tmux/screen are great but it's incredibly convenient to have it built in the client.

@bastiao
Copy link

bastiao commented Feb 5, 2019

@Eugeny I saw that you close the ticket (duplicated tab). Is this issue of split panes also outside of roadmap of terminus for short time?

@Eugeny
Copy link
Owner

Eugeny commented Feb 5, 2019

@bastiao this ticket isn't closed - and it's definitely on the roadmap!

@ScripterSugar
Copy link

+1 for this feature too. Really need it and very disappointed this is not yet implemented

@Hans941
Copy link

Hans941 commented Mar 1, 2019

Yeah, this feature is really useful. Hoping ... +1.

@mquinnv
Copy link

mquinnv commented Mar 3, 2019

mouse support for tmux would be sufficient for me

Eugeny added a commit that referenced this issue Mar 3, 2019
Eugeny added a commit that referenced this issue Mar 3, 2019
@Eugeny Eugeny closed this as completed in 27fb611 Mar 4, 2019
@bastiao
Copy link

bastiao commented Mar 5, 2019

@Eugeny you did it great! Thank you!
That's really change the way that we use terminus. I'm using nighly builds already.

@Eugeny
Copy link
Owner

Eugeny commented Mar 5, 2019

@bastiao glad you liked it!

@ScripterSugar
Copy link

@Eugeny Also using nightly builds here. Totally satisfied with new feature. Great job.

@christian-ehrisman
Copy link

@Eugeny Another sincere thank you for split panes! It's very well done and lets me use terminus as my daily console driver.

@Eraldoe
Copy link

Eraldoe commented Mar 12, 2019

@Eugeny I think there is a bug with this feature. On Windows 10 running Terminus Alpha 73 when you click the divider bar to change the size of a split pane, it will deselect the bar (and thus stop moving the divider) if your cursor moves outside the bar. The effect is that you must drag the bar extremely slowly. Check out this gifv to explain what I mean. If I move quickly, the bar stops dragging.

Op9tu61PF4 (image mirrored at https://i.imgur.com/mchGDGG.gifv)

@hardwareadictos
Copy link

Hi all! ¿Is it possible to implement split mode as it is on MobaXTerm, just splitting the terminal into two or more tabs instead of attatching one terminal into a tab via hotkeys as its being done now? Its the only thing left for me and my team to use it at work, its nice software what you are making Eugeny :)

@Wazbat
Copy link

Wazbat commented Nov 19, 2019

For anyone finding this on google, the default keybinds don't work for me on Ubuntu. In the settings menu change "Split to the right" and "Split to the bottom" to something else. I'm using the numpad arrows with the same modifier as before

@jonesmith518
Copy link

nice feature!

@eithermonad
Copy link

eithermonad commented Feb 29, 2020

Is it possible to have different terminals/profiles in each pane? I.e, could I have Powershell top left, Bash top right, and normal Windows CMD on the bottom, for example?

Thanks.

@mnmami
Copy link

mnmami commented Mar 16, 2021

For those landing here and wondering how the feature can be used, go to Settings then Hotkeys, then search for "split". In Windows, the default values should be Ctrl-Shift-E and Ctrl-Shift-D for 'split to the right' and 'split to the bottom, respectively.

UPDATE: a more intuitive way that I didn't immediately spot was simply to right-click any terminal then select "Split".

@Jimmy-Newtron
Copy link

For those landing here and wondering how the feature can be used, go to Settings then Hotkeys, then search for "split". In Windows, the default values should be Ctrl-Shift-E and Ctrl-Shift-D for 'split to the right' and 'split to the bottom, respectively.

UPDATE: a more intuitive way that I didn't immediately spot was simply to right-click any terminal then select "Split".

Even more intuitive would be an icon button that can fit visually on the menu bar (close to the new tab button)

@j-autuick
Copy link

great feature, works pretty good. I was curious, since I cannot find it, but is it possible to close a split window?

@Eugeny
Copy link
Owner

Eugeny commented Nov 4, 2023

@j-autuick you can either exit the shell inside, or use the "close focused pane" shortcut

@efrenmarin45
Copy link

Is there a way to set up all new tabs be split by default?

@Eugeny
Copy link
Owner

Eugeny commented Nov 29, 2023

Yes, and profile can be the default profile, including one based on a split tab (Tab context menu -> save profile)

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