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

Add ability to use tab to complete like IDEs and youcompleteme #10

Closed
dylan-chong opened this issue Oct 14, 2016 · 4 comments
Closed

Add ability to use tab to complete like IDEs and youcompleteme #10

dylan-chong opened this issue Oct 14, 2016 · 4 comments

Comments

@dylan-chong
Copy link

Not sure if this is worth implementing or not but might be useful

@josefson
Copy link

josefson commented Oct 14, 2016

Well, my installation is working with tab completion. Maybe it's supertab working over it tho.
But i have to say, this is blazingly faster than youcompleteme. I didn't have time to test it further, but the only missing link is the fuzzy-matching. But even then, i would change fuzzy matching for speed.

@dylan-chong
Copy link
Author

dylan-chong commented Oct 18, 2016

That's weird. I'm not using supertab, but I do have this in my .vimrc

set expandtab
set softtabstop=4
set shiftwidth=4
set tabstop=4

Pressing tab just inserts 4 spaces when the completion window appears by itself

@josefson
Copy link

Well, as far as i know vim by default doesn't use tab for walking over and back on the popup list, instead one should use C-p or C-n. However, one can emulate the tab behavior by mapping it to those key binds, which is exactly what supertab does.
Regarding your configuration about tab, as far as i know it doesn't have anything to do with popup completion. It is just for tabs when used in insert mode, which is what you are doing it(hit tab get 4 spaces).

@dylan-chong
Copy link
Author

Ah ok, thanks

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