Vim keyword complete when omni complete returns nothing?

Let g:stop_autocomplete=0 function! CleverTab(type) if a:type=='omni' if strpart( getline('. '), 0, col('.')-1 ) =~ '^\s*$' let g:stop_autocomplete=1 return "\" elseif!pumvisible() &&!

&omnifunc return "\\\" endif elseif a:type=='keyword' &&!pumvisible() &&! G:stop_autocomplete return "\\\" elseif a:type=='next' if g:stop_autocomplete let g:stop_autocomplete=0 else return "\" endif endif return '' endfunction inoremap =CleverTab('omni')=CleverTab('keyword')=CleverTab('next').

( – jonaz Jan 26 '10 at 12:05 oh damn, I forget it ;) anyway, you should double check pumvisible for each menu – Nikolay Frantsev Jan 26 '10 at 15:40 hmm... not getting it to work, if I tab after a space I get a tab, then immediately I get a new autocomplete menu. I tried this as a first if statement: if strpart( getline('.'), 0, col('. ')-1 ) =~ '^\s*$' return "\" – jonaz Jan 26 '10 at 16:09 1 so, now it should be fine – Nikolay Frantsev Jan 26 '10 at 17:19 works like a charm!

– jonaz Jan 26 '10 at 17:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send