Skip to content

mgalliou/blink-cmp-tmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

blink-cmp-tmux

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 = {
            all_panes = false,
            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

About

Completion source using tmux for blink.cmp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages