An open API service indexing awesome lists of open source software.

https://github.com/aureolebigben/wezterm-cmd-sender

A simple plugin to send command to multiple pane in wezterm
https://github.com/aureolebigben/wezterm-cmd-sender

wezterm wezterm-plugin

Last synced: 5 months ago
JSON representation

A simple plugin to send command to multiple pane in wezterm

Awesome Lists containing this project

README

          

# wezterm-cmd-sender
A simple plugin to send command to multiple pane in wezterm

I am new to the world of Lua, so feel free to open pull requests to improve the plugin or the documentation.

# Usage
![demo](https://github.com/user-attachments/assets/be535d78-8494-480c-b44c-3ab576833dd2)

# Setup

1. Require the plugin
```lua
local wezterm = require 'wezterm'
local cmd_sender = wezterm.plugin.require("https://github.com/aureolebigben/wezterm-cmd-sender")
```
2. Apply the keybinding to config
```lua
cmd_sender.apply_to_config(config)
```

If you want to change keybinding or description you can pass opts to apply_to_config
```lua
cmd_sender.apply_to_config(config, {
key = 'mapped:s',
mods = 'CMD|SHIFT',
description = 'Enter command to send to all panes of active tab'
})
```