Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complete from all open buffers/windows #40

Closed
bybor opened this issue Jul 19, 2012 · 4 comments
Closed

complete from all open buffers/windows #40

bybor opened this issue Jul 19, 2012 · 4 comments

Comments

@bybor
Copy link

bybor commented Jul 19, 2012

Cannot figure it out

Does this option have effect ?

set complete=.,b,u,]

I'd like SuperTab to get data from all open windows in current tab

@ervandew
Copy link
Owner

Looking at the docs, :help 'complete', it seems that vim doesn't
have the ability to limit the search based on the current tab.

What you have, set complete=.,b,u,], will search for words in the
current buffer (.), all loaded buffers (b), all unloaded buffers (u),
and tag files (]). If you just want vim so search open windows, then
you should use: set complete=.,w

@bybor
Copy link
Author

bybor commented Jul 19, 2012

i mean that it doesn't have effect when used with SuperTab. It completes only using current window
Sorry for not being clear enough

@ervandew
Copy link
Owner

Hmm, supertab simply triggers vim's completion, so there shouldn't be any difference between using supertab vs vim's completion directly. Can you provide an example of the problem along with your supertab settings? Also make sure you aren't using or since those 2 only search the current file, vs and which honor the complete option values.

@bybor
Copy link
Author

bybor commented Jul 20, 2012

Thanks a ton!

You're right, i've used

c-x c-n
.

It works fine with c-n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants