omnicomplete

Is there any way to get python omnicomplete to work with non-system modules in vim?

The only thing I can get python omnicomplete to work with are system modules. I get nothing for help with modules in my site-packages or modules that I'm currently working on. ...

Is there a plugin--omnicomplete or other-- that will suggest python modules to import?

For example: from datetime import <c-x><c-o>{list of modules inside datetime package} ...

Is there a way to change the behavior of the vim omnicomplete menu?

Omnicompletion is working, but it automatically inserts the first result. What I'd like to do is open the omnicomplete menu, then be able to type to narrow down the results, then hit enter or tab or space or something to insert the selected menu item. Is this possible? ...

Vim SQLComplete OMNI completion in Windows

I've recently started using VIM (7.2) in Windows and have been trying to use the OMNI completion feature when editing SQL. When at the start of a new line it appears to work fine. For example, if I am in insert mode and type: se <C-C>a then the word 'select' appears. If I then try and use OMNI completion on any other word on the sam...

How to get the func prototype after selecting the func via omnicppcomplete?

Is there a way to get vim to paste a function's arguments after selecting it via omnifunc (or at least displaying it after selecting it, but not before)? Something like: myObject.play(int time, std::string foo) Maybe even allows you to tab through the arguments like what those snippets plugins allow you to do. Is there such a plugin o...

How do I get Vim Omni Completion working in Makefiles?

I'd like to be able to use Vim omni-completion in Makefiles, so that I can get auto-complete for target dependencies and such. Anybody know how to do this? ...

making vim load omnicomplete from current working directory

Hi, I am trying to make vim portable by statically compiling it and then using my own vimrc and plugins and stuff that lives in my portable directory... I have recently used vi omnicomplete plugin that says to install it in ~/.vim/ directory... It works fine... but i want my portable vim to locate the omnicomplete plugin from the curr...

Vim style Omnicomplete for emacs?

I've found several code completion elisp packages for emacs that do code completion, but most bind to a key such as M-/ to toggle completion. Is there something similar to Vim's omnicomplete where you can set it to automatically pop up a list of autocompletion options where you can either navigate through them, or just keep typing. See...

Using css_color plugin for vim causes omni completion not to work

I am using the css_color.vim script with gvim 7.2 on vista. Because of this script I am not able to use omni-completion for css that came with the gvim I installed, which works perfectly fine if I rename the css.vim file to css.vim.bak or something. I usually open omni-completion drop down using <C-x><C-o>, but with the css.vim, when I ...

Vim omnicompletion for Java

I've read heaps of blogs on Vim's supposedly great omnicompletion, and yet no matter what I do I can't get it to work satisfactorily. It took me ages to figure discover that the version of ctags that is preinstalled on my system was the emacs one, and didn't have the --recurse option, but now that I've run ctags-exuberant on my copy of t...

Vim XMLns context awareness.

I've used Vim's g:xmldata_ to describe xml possible elements to be able to use omni-compete for xml. The problem is not each 'A' node has 'a0', 'a1', 'an'. Sometimes 'A' node has only 'a0'. And the documentation of the a0 and A is different and depends on parent of 'A'. E | |--A | \-a0 // documentation of E.A.a0 | \-a1 | \--B \...

Vim Python omni-completion failing to work on system modules

I'm noticing that even for system modules, code completion doesn't work too well. For example, if I have a simple file that does: import re p = re.compile(pattern) m = p.search(line) If I type p., I don't get completion for methods I'd expect to see (I don't see search() for example, but I do see others, such as func_closure(), func_...

Problems getting Vim's omnicppcomplete to work right

I'm trying to get OmniCppcomplete to work and I'm running into trouble. I've followed the steps on this page (including the things to add to the .vimrc file). I downloaded and extracted the zip file to ~/.vim, I ran the commands it says, I did everything there and it still doesn't work. I also tried downloading the modified stl for the _...

pythoncomplete in vim - hardcode factory function returns?

I'm using pythoncomplete omnicompletion in vim. It works great when I instantiate classes directly, eg import numpy as np x = np.ndarray(l) then x attributes complete correctly. But I work with numpy and matplotlib so usually use factory functions ie x = np.zeros((2,2)) f = plt.figure() ax = f.add_subplot(111) Is there any wa...

Getting VIM to be efficient in Actionscript like Flex

I'm trying to setup VIM for editing Actionscript 3 for some upcoming Flash projects. I dislike working in an IDE and prefer VIM. Right now, I know that I want: Omnicomplete (with tab completion) Syntax highlighting (there is an actionscript.vim file on vim.org but the highlighting is not as good as other syntax files) AS3 compiler acce...

Vim's Omnicompletion with Python just doesn't work.

I've searched around for an hour, both on Stack Overflow and elsewhere. Alas! Please help. Vim's omnicompletion just doesn't work. I have Vim 7.2 compiled with Python support. filetype plugin on is in my .vimrc. When a .py file is open, :echo &omnifunc prints pythoncomplete#Complete. I'm working with a large project and I have a tags f...

Is it possible to use different tags files for omnicomplete and general tag browsing in Vim?

Hi, I've been using ctags in Vim for years, but I've only just discovered omnicomplete. (It seems good.) However, I have a problem: to get omnicomplete working properly I have to use the --extra=+q option when generating the tags, which is fine, but this then changes the behaviour of general tag browsing in ways that I do not like. F...

vim omnicomplete vs. vim intellisense

Are Vim OmniComplete and Vim Intellisense mutually exclusive or complimentary? I'm a bit confused by conflicting terminology and implementations, such as these C++ OmniComplete and C++ Intellisence plugins. ...

Use VIM omnicomplete for javascript with ctags

I am using vim/gvim for 4 months already and now I found a way to use it's strengths. My tags file is generated very well and here is a simple row in it. my.namespace.classname /path/to/file.js /^my.namespace.classname = function(first_arg,$/;" f Here is an example what i need to omnicomplete: my.namespace.cla <- omnicomplete list...

Calling omnicompletion for every keypress in vim

I have a vim script that uses a one line window to get a filename pattern from the user. This pattern can be completed to a full filename from a database if you press CTRL-X CTRL-O. Now the only problem is that you have to press the auto completion shortcut by yourself. But I want the auto completion to work incrementally so that for eve...