Hyper: Split panes

Created on 6 Jul 2016  路  50Comments  路  Source: vercel/hyper

Hey! I'm loving using this so far, there's only _one_ thing missing that helps me with my workflow.

I'd love to see multiple panes in tabs. For example, you could use CMD+D for a horizontally split pane or CMD+SHIFT+D for a vertically split pane from the currently selected. I don't have any particularly good ideas on how to navigate the panes with keyboard commands. Atom uses CMD+K then CMD+[directional arrow] to navigate between split panes.

Anyway, I'd absolutely love to see this feature in hyperterm, I hope it's possible!

help wanted Feature Request

Most helpful comment

Yes. It's possible and we'll do it.

All 50 comments

Yes. It's possible and we'll do it.

Here's a shot at trying to be helpful towards the process of getting this done.

I took your sketch file from hyperterm-art and tried to prototype what it could possibly look like.

image

image

wow that looks incredibly beautiful. Thank you @CodeTheory

@CodeTheory can you share the code ? I was about do the same thing when I came across this thread

@nuke99 There isn't any code from my side. The screenshot I shared was a design prototype addition to the sketch file found in the hyperterm-art repository.

I'd love to see the interface behave similarly to iTerm2

Can't wait for this! 馃槑

@CodeTheory You'd probably actually want nested over each split pane, as well as the "parent" window tabs on top.

See iTerm:

screen shot 2016-07-18 at 11 06 17 am

@CWSpear I was actually just thinking about this. I don't know how @zeit plan to do it though!

we might want to use this for rendering the split panes https://github.com/tomkp/react-split-pane

@nfcampos that sounds good

Looking forward having that feature too!

@rauchg How do you want to move forward on this? We chatted briefly on Twitter - I'd like to understand what your plan is for this feature.

Edit: to clarify, I'm wondering whether this should be in core or a plugin.

I've started working on this. @solomonhawk I'm pretty certain that it needs to be in core though, as it requires quite significant changes to the current structure (sessions and so on).

I'm sure it'll be a while until I have a PR done, getting nested splits working smoothly is a pretty large change. So if anyone's already working on it and beat me to it, :shipit: 馃憤. Otherwise I'm on Slack if anyone wants to brainstorm eventually.

Can't wait for this

@ekmartin Wonderful, I'll look for you on slack.

@ekmartin @solomonhawk hi, can you help me with finding slack you are talking about?

Looks like you found it @iamstarkov, but if anyone else's looking it's here: https://zeit.chat/

This is the only feature stopping me from using hyperterm fulltime in order to be as productive as I'm with iTerm2.

Hope this can be supported then I can replace my iTerm2 totally

It will be great if a pane can temporarily take all the tab space. A sort of maximize into a tab.
Like Terminator on linux : http://gnometerminator.blogspot.fr/p/introduction.html

@chabou iTerm does that too, I use it frequently. Would be great if Hyperterm supported that too.

The other thing iTerm gives us is the ability to hide pane headers (see the grey bar over each pane in the screenshot above).

It also allows me to map key combos to move between panes relative to the current focus.

If we can get both of these features, that would be ideal.

I also like the new way Atom did to create the split panes. You can grab a tab and drag/drop it in a specific area of the app to make it create the split panes the way you want.

There's an initial implementation available here if you'd like to give it a try.

@ekmartin ur fork is sick af

great work on the split panes, beautifully done. I'm switching from iTerm now. Line height being too small is the new split panes for me.

Is this merged now? @rauchg

Split panes are available since 0.8.1

Beautiful! One issue tho: when my window manager (amethyst) shrinks Hyper, it seems like it doesn't redraw, so the lower pane gets hidden. My work-around is to do a quick CMD+SH+D + CMD+W, but that hinges on remembering a pane just got hidden.

Nice, I was waiting for this :)

@realogicbcleary Do an issue for that.

Is there a way to change to focused pane via a shortcut? E.g. in iTerm2 i can switch between them with alt + cmd + <arrow-key>

You can cycle back and forth with Ctrl+Alt+Tab and Ctrl+Shift+Alt+Tab. There's a couple of issues for other types of split key bindings here: #828 #1295

@ekmartin martin, you the real mvp

You also can do it with cmd+shift+[ or cmd+shift+] like on Atom

How can you expand a pane to full screen?

@dezman Can you be more specifc.

@ppot Im just wondering if there is a feature like cmd+shift+return in iTerm where the pane you are on fills the whole screen and you can toggle between viewing all your panes and expanding one to fill the screen. Thanks!

@dezman Not at the moment! it's in the stack of things to be implemented!

@ppot okay awesome, thanks for the info, is there a place i can check for the development of this feature?

@dezman This will be on the rebuild I am doing. You can open an issue for this at https://github.com/ppot/hyper/issues
So I can keep track

@ppot great, thanks!

Split pane command in linux/windows?

@itsashis4u you can find it in the menu
screen shot 2017-04-04 at 12 43 38

Thanks, @iamstarkov.
I am using elementary os and I believe a global menu is not present in it. Will look for a workaround.

may i ask how you managed to greyscale out all the inactive panes?

Suggestion: move the "split" options to "View" instead of in "Shell".

Is there a shortcut to resize splits? In iTerm2 ctrl+cmd+arrows resizes the current splits. This way there is no need to use the mouse to drag in order to (in || de)crease the split.

Awesome terminal, loving it btw...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dbkaplun picture dbkaplun  路  3Comments

anthonyettinger picture anthonyettinger  路  3Comments

cilice picture cilice  路  3Comments

weabot picture weabot  路  3Comments

legomushroom picture legomushroom  路  3Comments