{"id":13896076,"url":"https://github.com/andersevenrud/cmp-tmux","last_synced_at":"2025-04-13T02:32:04.453Z","repository":{"id":42483639,"uuid":"354087715","full_name":"andersevenrud/cmp-tmux","owner":"andersevenrud","description":"Tmux completion source for nvim-cmp and nvim-compe","archived":false,"fork":false,"pushed_at":"2024-02-29T17:17:17.000Z","size":31,"stargazers_count":124,"open_issues_count":2,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-26T20:21:16.482Z","etag":null,"topics":["lua","neovim","neovim-plugin","nvim-cmp","nvim-compe","nvim-plugin","tmux"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andersevenrud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"andersevenrud","patreon":"andersevenrud","custom":"https://paypal.me/andersevenrud"}},"created_at":"2021-04-02T17:28:13.000Z","updated_at":"2025-02-19T10:20:23.000Z","dependencies_parsed_at":"2024-02-29T18:44:03.570Z","dependency_job_id":null,"html_url":"https://github.com/andersevenrud/cmp-tmux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fcmp-tmux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fcmp-tmux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fcmp-tmux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersevenrud%2Fcmp-tmux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersevenrud","download_url":"https://codeload.github.com/andersevenrud/cmp-tmux/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657793,"owners_count":21140842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","neovim","neovim-plugin","nvim-cmp","nvim-compe","nvim-plugin","tmux"],"created_at":"2024-08-06T18:02:38.770Z","updated_at":"2025-04-13T02:32:04.173Z","avatar_url":"https://github.com/andersevenrud.png","language":"Lua","funding_links":["https://github.com/sponsors/andersevenrud","https://patreon.com/andersevenrud","https://paypal.me/andersevenrud"],"categories":["Lua"],"sub_categories":[],"readme":"# cmp-tmux\n\nTmux completion source for [nvim-cmp](https://github.com/hrsh7th/nvim-cmp).\n\n**If you're looking for a [nvim-compe](https://github.com/hrsh7th/nvim-compe) version of this extension, use the [following branch](https://github.com/andersevenrud/compe-tmux/tree/compe)**.\n\n\u003e This extension [pulls text from your current tmux session](https://github.com/andersevenrud/cmp-tmux/issues/14#issuecomment-924877836)\n\u003e and provides it as a completion source.\n\u003e\n\u003e *By default this extension uses adjacent panes as sources. See [configuration](#configuration) to enable all panes.*\n\n## Requirements\n\n* [Neovim](https://github.com/neovim/neovim/)\n* [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)\n* [tmux](https://github.com/tmux/tmux)\n\n## Installation\n\nUse your package manager of choice. For example [packer.nvim](https://github.com/wbthomason/packer.nvim):\n\n```lua\nuse {\n  'andersevenrud/cmp-tmux'\n}\n```\n\n## Setup\n\n```lua\nrequire('cmp').setup({\n  sources = {\n    { name = 'tmux' }\n  }\n})\n```\n\n## Configuration\n\nTo configure this extension, add an options table (defaults shown):\n\n```lua\nrequire('cmp').setup({\n  sources = {\n    {\n      name = 'tmux',\n      option = {\n        -- Source from all panes in session instead of adjacent panes\n        all_panes = false,\n\n        -- Completion popup label\n        label = '[tmux]',\n\n        -- Trigger character\n        trigger_characters = { '.' },\n\n        -- Specify trigger characters for filetype(s)\n        -- { filetype = { '.' } }\n        trigger_characters_ft = {},\n\n        -- Keyword patch mattern\n        keyword_pattern = [[\\w\\+]],\n\n        -- Capture full pane history\n        -- `false`: show completion suggestion from text in the visible pane (default)\n        -- `true`: show completion suggestion from text starting from the beginning of the pane history.\n        --         This works by passing `-S -` flag to `tmux capture-pane` command. See `man tmux` for details.\n        capture_history = false,\n      }\n    }\n  }\n})\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersevenrud%2Fcmp-tmux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersevenrud%2Fcmp-tmux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersevenrud%2Fcmp-tmux/lists"}