flash_tmux

Crates.ioflash_tmux
lib.rsflash_tmux
version0.1.3
created_at2026-01-14 05:45:54.956897+00
updated_at2026-01-18 07:14:03.082715+00
descriptionA tmux plugin inspired by folke/flash.nvim and Kristijan/flash-copy.tmux to quickly copy text from your tmux pane.
homepage
repositoryhttps://github.com/iovis/flash.tmux
max_upload_size
id2042264
size68,071
David Marchante (iovis)

documentation

README

flash.tmux

Standalone Rust CLI for a tmux "flash copy" workflow inspired by flash.nvim and flash-copy.tmux.

Quickly copy text from a tmux pane by searching and selecting it with labeled keys.

Requirements

  • tmux with display-popup support.
  • Clipboard support via tmux (OSC52) or one of: pbcopy, xclip, xsel.

Install

From crates.io:

cargo install flash_tmux

From source:

git clone https://github.com/iovis/flash.tmux
cd flash.tmux
cargo install --path .

tmux setup

Add a binding in ~/.tmux.conf:

bind-key F run-shell "flash_tmux"

Usage

  • Type to search (ASCII case-insensitive).
  • Labels are lowercase; press a label to select.
    • Lowercase: copy + paste.
    • Uppercase: copy only.
  • Tab: paste current match
  • Enter: paste and send Enter.
  • Space: paste and send Space.

Matching behavior

  • Only the visible pane content can be matched.
  • Matches are whitespace-delimited tokens.
  • Substring matches within a token are allowed.
  • If a token is wrapped by (), [], {}, quotes, or backticks, and the match is inside those wrappers, the outer wrapper is stripped before copying/pasting.
    • Example: (/home/user/project)/home/user/project
Commit count: 48

cargo fmt