wellle / tmux-complete.vim

Vim plugin for insert mode completion of words in adjacent tmux panes
MIT License
515 stars 21 forks source link

54 Proper shell script arguments, include current pane #55

Closed wellle closed 9 years ago

wellle commented 9 years ago

Close #54.

Use proper arguments instead of relying on order. Include current pane by default, add option -e to exclude it (used for Vim completion).

@blueyed: I restructured the script a bit again. Let me know what you think. I also removed the unset. Is there a particular reason why you added it?

blueyed commented 9 years ago

:+1:

There's no need for the unset - I don't remember why I've added it.

wellle commented 9 years ago

Thanks!

justinmk commented 9 years ago

Seems like this broke the unite source. :echo tmuxcomplete#list('words', 0) returns nothing. Same for "lines".

tmux 1.8

wellle commented 9 years ago

Thanks, will check!

wellle commented 9 years ago

@justinmk: Thanks for the ping, I can't believe I messed that up.

Should be fixed with #56.

justinmk commented 9 years ago

@wellle Seems fine now, thanks!