chabou / hyper-broadcast

Extension for Hyper.app to broadcast user inputs to multiple terms.
MIT License
22 stars 5 forks source link
hyper hyperapp hyperterm plugin shell

hyper-broadcast

CI Status NPM version Downloads Conventional Commits

Extension for Hyper.app to broadcast user inputs to multiple terms.

Screenshot

Install

Using hpm

hpm install hyper-broadcast

Manually

To install, edit ~/.hyper.js and add "hyper-broadcast" to plugins:

plugins: [
  "hyper-broadcast",
],

Configuration

Default configuration:

module.exports = {
  config: {
    // other configs...
    broadcast: {
      debug: false,
      hotkeys: {
        selectCurrentPane: "Command+Alt+Shift+B",
        selectCurrentTabPanes: "Command+Alt+B",
        selectAllPanes: "Command+Shift+B",
        toggleCurrentPane: "Command+Alt+Control+Shift+B"
      },
      indicatorStyle: {
        position: "absolute",
        top: 5,
        right: 10,
        borderRadius: "50%",
        width: "10px",
        height: "10px",
        background: "red"
      }
    }
  }
  //...
};

For hotkeys, you can use any Electron Accelerator

Licence

MIT