Tmux completion source for nvim-compe.
If you're looking for a nvim-cmp version of this extension, use the following branch (more information).
By default this extension uses adjacent panes as sources. See configuration to enable all panes.
Use your package manager of choice. For example packer.nvim:
use {
'andersevenrud/cmp-tmux',
branch = 'compe'
}Using Lua:
require'compe'.setup {
source = {
tmux = true,
}
}Or Vimscript:
let g:compe.source.tmux = v:trueTo configure this extension, change the tmux compe source definition as defined below (defaults shown).
Using Lua:
require'compe'.setup {
source = {
tmux = {
disabled = false,
all_panes = false,
kind = 'Text',
}
}
}Or using Vimscript:
let g:compe.source.tmux = {}
let g:compe.source.tmux.disabled = v:false
let g:compe.source.tmux.all_panes = v:false
let g:compe.source.tmux.kind = "Text"MIT