blink-cmp-tmux

December 23, 2025 ยท View on GitHub

Port of the andersevenrud/cmp-tmux completion source for the blink.cmp Neovim plugin.

Features

  • Integrates with tmux to provide completion suggestions based on the content of tmux panes.
  • Supports capturing content from all panes or only the current pane.
  • Allows capturing the history of panes for more comprehensive suggestions.
  • Configurable trigger characters to activate completions.

Requirements

Installation & Configuration

Using lazy.nvim

{
  "saghen/blink.cmp",
  dependencies = {
      "mgalliou/blink-cmp-tmux",
  },
  opts = {
    sources = {
      default = {
        --- your other sources
        "tmux",
      },
      providers = {
        tmux = {
          module = "blink-cmp-tmux",
          name = "tmux",
          -- default options
          opts = {
            -- `panes` option supports these values:
            -- * `window`  - completions from current tmux window panes only
            -- * `session` - completions from current tmux session panes only
            -- * `all`     - completions from all tmux panes
            panes = "window",
            capture_history = false,
            -- only suggest completions from `tmux` if the `trigger_chars` are
            -- used
            triggered_only = false,
            trigger_chars = { "." }
          },
        },
      }
    }
  }
}

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions, bug reports, or feature requests.

Credits