To use the omnicomplete, you should press <C-X><C-O>, but not <C-N>.
Hong Xu

On 12/21/10, David Chanters <[email protected]> wrote:
> hi,
>
> On 20 December 2010 14:38, [email protected] <[email protected]>
> wrote:
>> Hello David, I see you're struggling with omnicppcompletion too :)
>>
>> I found this:
>> autocmd FileType python set omnifunc=pythoncomplete#Complete
>> autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
>> autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
>> autocmd FileType css set omnifunc=csscomplete#CompleteCSS
>> autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
>> autocmd FileType php set omnifunc=phpcomplete#CompletePHP
>> autocmd FileType c set omnifunc=ccomplete#Complete
>>
>> I hope this will help you...
>
> i tried this, but it didn't do what i hoped it might - at least not
> for the usecase in my original email.
>
> Thanks for helping though. :)
>
> David
>
> --
> 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
>

-- 
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