chabou / hyper-pane

Extension for Hyper.app to enhance pane navigation.
MIT License
191 stars 13 forks source link

[Request] Send commands to all panes #8

Closed roginfarrer closed 7 years ago

roginfarrer commented 7 years ago

This is a big feature that's keeping me from switching from iTerm.

In iTerm, I can hit option+cmd+i to write commands in all panes, which is super handy when working with multiple repos that need to be in sync. I've seen this feature requested on Hyper's github page, but I thought that this feature would be appropriate to the plugin, as well.

chabou commented 7 years ago

I think it could be a separated plugin but can you describe what you want exactly: When you hit a hotkey (option+cmd+i), what you type is sent to all pane (not tab). And when you hit same hotkey, "mirror mode" is disabled ?

roginfarrer commented 7 years ago

Yup, exactly. In iTerm, essentially what happens is that the cursor becomes active in every pane, so that what ever you type gets entered into all panes in that tab.

iamstarkov commented 7 years ago

it should be separate plugin

PS. its already can be done by tmux/screen

chabou commented 7 years ago

@roginfarrer I made this plugin: https://www.npmjs.com/package/hyper-broadcast

Can you try it and give me some feedbacks ? I had to change shortcuts to b and not i because, you know: option+cmd+i opens dev-tools 😝