wezterm-cmd-sender

April 19, 2026 ยท View on GitHub

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.

Type annotations

For Lua type annotations and autocompletion support, this plugin is referenced in wezterm-types by @DrKJeff16.

It can be imported with type annotations as follows:

---@type CmdSender
local cmd_sender = wezterm.plugin.require("https://github.com/aureolebigben/wezterm-cmd-sender")

Usage

demo

Setup

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

If you want to change keybinding or description you can pass opts to apply_to_config

cmd_sender.apply_to_config(config, {
    key = 'mapped:s',
    mods = 'CMD|SHIFT',
    description = 'Enter command to send to all panes of active tab'
})