tmux-complete.vim icon indicating copy to clipboard operation
tmux-complete.vim copied to clipboard

tmux-complete outputs 'No tmux found' completion if no tmux instance is running

Open javier-lopez opened this issue 9 years ago • 3 comments

Hello,

Whenever vim is started and if no tmux instances are running, I get 'No tmux found' messages in the completion dialog.

no-tmux-found-completion

IMHO, tmux-complete should be quiet if no tmux server is detected and maybe even deactivate itself to avoid lagging the completion system.

Thank you for the plugin =)!

javier-lopez avatar Jan 23 '16 13:01 javier-lopez

I initially added this to give some feedback on why tmux-complete.vim wouldn't work. I understand that this is not nice when a completion system collects completions from multiples sources and this error messages shows up in the list every time.

The readme advises to change g:tmuxcomplete#trigger for such integrations. So how do you feel about keeping the error message when the trigger is the default (invoked with <C-X><C-U>) and silence the plugin when used with a different trigger (invoked differently or via completion system)?

wellle avatar Jan 23 '16 18:01 wellle

That sounds nice =), however if I may suggest something, it could also depend in a debug or verbose variable.

javier-lopez avatar Jan 24 '16 07:01 javier-lopez

This is very annoying. Could you remove it?

kepbod avatar Nov 05 '16 04:11 kepbod