tmux-thumbs

A lightning fast version of copy/pasting like vimium/vimperator.

tmux-thumbs is a plugin for Tmux written in Rust. It allows you to quickly select and copy text from your terminal using keyboard hints, similar to how Vimium works in a browser.

Key Features

  • Performance: Written in Rust for minimal latency, even with large scrollback buffers.
  • Flexibility: Works as a Tmux plugin or as a standalone CLI tool.
  • Multi-Selection: Copy multiple items at once.
  • Customizable: extensive configuration for colors, keybindings, alphabets, and regex patterns.
  • Smart Matching: Out-of-the-box support for URLs, IP addresses, Git SHAs, file paths, and more.

How it Works

When triggered, tmux-thumbs:

  1. Captures the current pane's content.
  2. Analyzes the text using predefined and custom Regular Expressions.
  3. Overlays the current pane with "hints" (letters) next to matched items.
  4. Allows you to press the corresponding keys to copy the text to your system clipboard or tmux buffer.