seems not work with AutoComplPop correctly

116 views
Skip to first unread message

aj3423

unread,
Jun 23, 2010, 7:06:54 AM6/23/10
to exVim
if there already exists a word "hello", then i type "hel", a popup
menu should display a list of available words,
but it doesn't appear at most time.

i looked very carefully and find , on every key strike there is a
popup window , it popups and then disappears, this happened very
quickly and looks like it doesn't popup at all.

i'm using exvim to develop javascript and PHP, so the omniCppComplete
could not help, how can i configure it? or there is any other popup
plugin?

thanks.

Wu Jie

unread,
Jun 23, 2010, 8:25:53 PM6/23/10
to exVim
Hi,

I install the AutoComplPop-2.14.1 you mentioned, and it is a nice
plugin, which I consider to add it into the exvim default-plugin-
list.

So I don't meet your problem in my exvim. The auto-compl-pop works
perfect here. And I try it in my c/cpp, javascript and python
projects.

But you said you locate the problem at omniCppComplete, so I guess
you use your own .vimrc configure things.
So may be you should add my ominiCppComplete configuration below into
your vimrc:

===================================================

" set Ctrl+j in insert mode, like VS.Net
imap <unique> <C-j> <C-X><C-O>
" :inoremap <expr> <cr> pumvisible() ? "\<c-y>" : "\<c-g>u\<cr>"

" set completeopt as don't show menu and preview
au FileType c,cpp,hlsl set completeopt=menuone

" use global scope search
let OmniCpp_GlobalScopeSearch = 1

" 0 = namespaces disabled
" 1 = search namespaces in the current buffer
" 2 = search namespaces in the current buffer and in included files
let OmniCpp_NamespaceSearch = 1

" 0 = auto
" 1 = always show all members
let OmniCpp_DisplayMode = 1

" 0 = don't show scope in abbreviation
" 1 = show scope in abbreviation and remove the last column
let OmniCpp_ShowScopeInAbbr = 0

" This option allows to display the prototype of a function in the
abbreviation part of the popup menu.
" 0 = don't display prototype in abbreviation
" 1 = display prototype in abbreviation
let OmniCpp_ShowPrototypeInAbbr = 1

" This option allows to show/hide the access information ('+', '#',
'-') in the popup menu.
" 0 = hide access
" 1 = show access
let OmniCpp_ShowAccess = 1

" This option can be use if you don't want to parse using namespace
declarations in included files and want to add namespaces that are
always used in your project.
let OmniCpp_DefaultNamespaces = ["std"]

" Complete Behaviour
let OmniCpp_MayCompleteDot = 0
let OmniCpp_MayCompleteArrow = 0
let OmniCpp_MayCompleteScope = 0

" When 'completeopt' does not contain "longest", Vim automatically
select the first entry of the popup menu. You can change this
behaviour with the OmniCpp_SelectFirstItem option.
let OmniCpp_SelectFirstItem = 0

===================================================

So as you can see, the first line is the way to trigger omniCpp, and
it prevent omniCpp automatically pop up the window, instead the acp
plugin will do that.

Any problem let me know.

aj3423

unread,
Jun 24, 2010, 9:25:42 AM6/24/10
to ex...@googlegroups.com
Thanks for the reply, it'll be very nice to see the autocomplpop plugin integrated in exVim.
I tried your configuration but no luck, so i tried to delete my plugin, then autoload folder, ftplugin, syntax on by one ... still no luck,  then i found the ex_vimrc file causes this, 
at last i located to this line, delete this line and autocomplpop plugin works:

set laststatus=2 " always have status-line

i have no idea why laststatus would have something to do with popup, and why it works fine in your case, I'm also using the AutoComplPop-2.14.1  and exVim 8.04

hope this helps, and hope such a life changing IDE exVim would be better.
Thanks

aj3423

unread,
Jun 24, 2010, 9:47:12 AM6/24/10
to ex...@googlegroups.com
by the way, is there any google talk group for exVim?  so people can talk directly , and you know, 我们都被墙,访问论坛很不方便 -_-

Yu Jianrong

unread,
Jun 24, 2010, 11:16:56 AM6/24/10
to ex...@googlegroups.com
I think talk from the default mail list of exvim should be a better idea, gmail is not GFWed,  yet.

2010/6/24 aj3423 <aj3...@gmail.com>
by the way, is there any google talk group for exVim?  so people can talk directly , and you know, 我们都被墙,访问论坛很不方便 -_-

--
You received this message because you are subscribed to the Google Groups "exVim" group.
To post to this group, send email to ex...@googlegroups.com.
To unsubscribe from this group, send email to exvim+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/exvim?hl=en.

Wu Jie

unread,
Jun 24, 2010, 8:43:56 PM6/24/10
to exVim
Hello:

I test this in both windows and mac, it works fine in my machines.
Do you install some additional plugins? If yes, try to remove them
one by one, and locate the problem.

Or may be you can try the latest version of exvim from github. Use
the dev branch, it is my current version.

Wu Jie

unread,
Jun 24, 2010, 8:44:36 PM6/24/10
to exVim
Also, you can send mail directly to me or Yu Jian Rong. We will reply
the mail as soon as we can.
Reply all
Reply to author
Forward
0 new messages