Omnicompletion works, marginally, but seemingly only with a project
tags
file in the project directory.

I have a ~/.vim/tags/cpp (generated from the cpp_src package
downloaded
from vim) and a ~/.vim/tags/csys (generaed from /usr/local).
My .vimrc
contains:

set nocp
filetype plugin on
set ofu=syntaxcomplete#Complete
set tags+=~/.vim/tags/csys
set tags+=~/.vim/tags/cpp

This is all stuff I found in the docs and on the wiki.  I was hoping
that when I do this:

vector<int> eg
eg.

I could then get the possible choices for "eg" with ctrl-x ctrl-o, but
that does not happen.  I don't see the point of generating a tags file
from the systems headers if omnicompletion only works on local objects
-- have I misunderstood something?

I'd rather get autocompletion for standard stuff than project specific
stuff, to be honest.  The way it is right now I'd rather not use it at
all.

Also: how do I prevent the "scratch" window from appearing?  That is
*extremely* irritating.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to