Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

herdr_sync

This plugin will synchronize the commands to all other panes in the current tab

Prerequisite

  • zig 0.16

Installation

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-plugin

Key Binding

Setup 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"

Usage

Configuration

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" },
}

Notification

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)

About

synchronize panes in herdr

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages