This plugin will synchronize the commands to all other panes in the current tab
- zig 0.16
git clone https://github.com/kamaaina/herdr_sync
cd herdr_sync
zig build
herdr plugin link /path/to/herdr_sync # local checkout
# guessing the herdr plugin install should take care of this, but i am probably
# doing something wrong so copying it manually
cp herdr_sync.zon ~/.config/herdr/plugins/config/sync-pluginSetup a key binding to trigger the plugin. eg. this binds it to prefix+shift+e
[[keys.command]]
key = "prefix+shift+e"
type = "plugin_action"
command = "sync-panes"
description = "synchronize panes"Modify the herdr_sync.zon as necessary
.{
// what your terminal prompt ends with
// for example, in bash and logged in a root, it would be '# '
.terminal_prompt = "> ",
// panes with these names will be omitted from synchronization
.ignore_panes = .{ "ignore", "mushi" },
}
If you have notifications enabled in your herdr config, you will get notification from this plugin in the bottom right corner
Type a command in your pane, but do not hit enter. Instead use the keymap you define (eg. prefix+shift+e)