Re: omni-completion

2007-05-09 Thread Jean-Rene David
* Normandie Azucena [2007.05.09 09:30]: > this will seem to be a dumb question. > what is omni-completion? > How can I use it in vim? > How can I create my own? Have you given :h omni-completion a try? -- JR

Re: omni-completion

2007-05-09 Thread Gary Johnson
On 2007-05-09, Normandie Azucena <[EMAIL PROTECTED]> wrote: > hi all! > this will seem to be a dumb question. > what is omni-completion? > How can I use it in vim? > How can I create my own? :help compl-omni :help 24.3 HTH, Gary -- Gary Johnson |

omni-completion

2007-05-09 Thread Normandie Azucena
hi all! this will seem to be a dumb question. what is omni-completion? How can I use it in vim? How can I create my own? tnx in advance!

RE: Bitchy omni completion with own Python modules/objects

2007-04-27 Thread Mike Hansen
>Subject:Bitchy omni completion with own Python modules/objects >From: Christoph Haas >Date: 2007-04-27 8:54:14 >Message-ID: 20070427085414.GF3937 () torf ! workaround ! org >[Download message RAW] >Dear list, >I have now spent half a day to get omni complet

Bitchy omni completion with own Python modules/objects

2007-04-27 Thread Christoph Haas
Dear list, I have now spent half a day to get omni completion working correctly for me. Many people say that it just works - others have given up getting it working. Actually it works as expected with the Python standard library: import os os. Then I get a choice of objects in the os module

RE: dbext omni-completion issue

2006-12-19 Thread David Fishburn
> I am trying to get the (magnificent, by the way) dbext plugin > to give me context-sensitive omni-completion for table/stored > procedure names. Thank you for the praise. This plugin contains functions/mappings/commands to enable Vim to access several databases. Currently Mysql, P

dbext omni-completion issue

2006-12-19 Thread Albie Janse van Rensburg
Hi I am trying to get the (magnificent, by the way) dbext plugin to give me context-sensitive omni-completion for table/stored procedure names. It doesn't unfortunately get very far, and when it tries to generate the dictionary files, I get an error: dbext: Incorrect syntax near '

Re: Stack trace - omni completion

2006-10-04 Thread Bram Moolenaar
David Fishburn wrote: > Vim 7.0 patches 1-106 > WinXP SP2 > > In an attempt to debug one of my scripts, I added some debug statements in > my VimL. When I did that, Vim will crash and produce the stack trace listed > below. I can reproduce this every time, and I know the person who reported >

Stack trace - omni completion

2006-10-04 Thread David Fishburn
Vim 7.0 patches 1-106 WinXP SP2 In an attempt to debug one of my scripts, I added some debug statements in my VimL. When I did that, Vim will crash and produce the stack trace listed below. I can reproduce this every time, and I know the person who reported the problem (with my script) also get

Re: PHP omni-completion, PHP objects

2006-09-05 Thread Mikolaj Machowski
Had to got message from Yahoo Groups, original post was lost somewhere: > with vim7's omni-completion how do you call/get functions/variables > relating to a specific class? > > $object = new HTML_QuickForm(); > $object-> > > And then after you type -> ho

Re: PHP omni-completion, PHP objects

2006-09-04 Thread A.J.Mechelynck
Silent1 wrote: [...] Lastly when you get the list of suggestions, what are the different keys you can press to cancel the drop down (I've been pressing escape but then I'm out of insert mode and the suggestion i was on has been filled in my code). I remember vim's help had the list of keys but i

PHP omni-completion, PHP objects

2006-09-04 Thread Silent1
Hi all, with vim7's omni-completion how do you call/get functions/variables relating to a specific class? $object = new HTML_QuickForm(); $object-> And then after you type -> how do i call for completions only relating to the HTML_QuickForm class? I've tried the patch for ctags

Re: taming omni completion

2006-07-15 Thread Maciej Kalisiak
On 15/07/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Maciej Kalisiak wrote: > On 14/07/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Please be specific about what kind of scanning needs to finish before it > > notices the typed key. All types of scans are implemented differently. > > Eac

Re: taming omni completion

2006-07-15 Thread Bram Moolenaar
Maciej Kalisiak wrote: > On 14/07/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Please be specific about what kind of scanning needs to finish before it > > notices the typed key. All types of scans are implemented differently. > > Each should check for a typed key at regular intervals, but

Re: taming omni completion

2006-07-14 Thread Maciej Kalisiak
On 14/07/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Please be specific about what kind of scanning needs to finish before it notices the typed key. All types of scans are implemented differently. Each should check for a typed key at regular intervals, but if there is one that doesn't I need t

Re: taming omni completion

2006-07-14 Thread Bram Moolenaar
Maciej Kalisiak wrote: > On 13/07/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Hmm, perhaps you are not talking about omni completion but about normal > > Insert mode completion. > > Thanks to Hari's post earlier, I now believe so, yes. > > >

Re: taming omni completion

2006-07-13 Thread Maciej Kalisiak
On 13/07/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote: Hmm, perhaps you are not talking about omni completion but about normal Insert mode completion. Thanks to Hari's post earlier, I now believe so, yes. This now scans other files sooner than in previous versions, so that the

Re: taming omni completion

2006-07-13 Thread Hari Krishna Dara
On Thu, 13 Jul 2006 at 10:36pm, Bram Moolenaar wrote: [snip] > Hmm, perhaps you are not talking about omni completion but about normal > Insert mode completion. This now scans other files sooner than in > previous versions, so that the menu can be filled. Note that you don't

Re: taming omni completion

2006-07-13 Thread Bram Moolenaar
Maciej Kalisiak wrote: > I'm using Vim 7.0 on WinXP SP2. I don't think I did anything specific > to turn on omni-completion (perhaps it's on by default? I'm editing > Python files), and I'm in no rush to start using it, although if it > was non-intrusiv

Re: taming omni completion

2006-07-13 Thread Hari Krishna Dara
On Thu, 13 Jul 2006 at 1:15pm, Maciej Kalisiak wrote: > On 13/07/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote: > > You are probably talking about the insert-mode completion rather than > > the omni-completion. Omni completion is meant is similar to the MS > > inte

Re: taming omni completion

2006-07-13 Thread Maciej Kalisiak
On 13/07/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote: You are probably talking about the insert-mode completion rather than the omni-completion. Omni completion is meant is similar to the MS intellisense, and is not turned on by default. Ahhh, I see, yes, I think you're rig

Re: taming omni completion

2006-07-13 Thread Hari Krishna Dara
On Thu, 13 Jul 2006 at 12:04pm, Maciej Kalisiak wrote: > I'm using Vim 7.0 on WinXP SP2. I don't think I did anything specific > to turn on omni-completion (perhaps it's on by default? I'm editing > Python files), and I'm in no rush to start using it, al

taming omni completion

2006-07-13 Thread Maciej Kalisiak
I'm using Vim 7.0 on WinXP SP2. I don't think I did anything specific to turn on omni-completion (perhaps it's on by default? I'm editing Python files), and I'm in no rush to start using it, although if it was non-intrusive I wouldn't mind leaving it on. The

Re: omni completion, calling different types

2006-06-14 Thread Mikolaj Machowski
Dnia środa, 14 czerwca 2006 17:37, David Fishburn napisał: > > It is triggered (while in insert mode) using followed by a key. > The key is what allows you to filter what is displayed in popup window. > The key can be many things: > t - table list > p - procedure list > v - view

RE: omni completion, calling different types

2006-06-14 Thread David Fishburn
> -Original Message- > From: Silent1 [mailto:[EMAIL PROTECTED] > Sent: Monday, June 12, 2006 1:39 PM > To: vim@vim.org > Subject: omni completion, calling different types > > I'm using the omni completion so far on my php scripts and > i'm wond

Re: omni completion, calling different types

2006-06-13 Thread Mikolaj Machowski
Dnia poniedziałek, 12 czerwca 2006 19:39, Silent1 napisał: > I'm using the omni completion so far on my php scripts and i'm > wondering if there are ways i can call different sets of data with > different key strokes. You can use 'completefunc' to call different comp

omni completion, calling different types

2006-06-12 Thread Silent1
I'm using the omni completion so far on my php scripts and i'm wondering if there are ways i can call different sets of data with different key strokes. ctrl-x+ctrl+o will bring up everything and display everything and will open up a preview window that has info if a function is c

Re: Add omni-completion for Python's Base Modules

2006-06-04 Thread Linsong
Panos Laganakos wrote: Hello, Is it possible to have omni-completion for python's base modules, like sys, os etc? And even more interesting support for any other module installed in site-packages. Thanks. Hi, AFAIK, it has already worked. BR Vincent

Add omni-completion for Python's Base Modules

2006-06-04 Thread Panos Laganakos
Hello, Is it possible to have omni-completion for python's base modules, like sys, os etc? And even more interesting support for any other module installed in site-packages. Thanks.

Re: problem using omni completion

2006-06-02 Thread A.J.Mechelynck
Lonely Rolling Star wrote: I found a previously supplied answer (see below). I think some mention of "filetype plugin on" should really be included in the help for omni completion. E764: Option 'omnifunc' is not set. You h

Re: problem using omni completion

2006-06-02 Thread Lonely Rolling Star
I found a previously supplied answer (see below). I think some mention of "filetype plugin on" should really be included in the help for omni completion. > E764: Option 'omnifunc' is not set. You have to put "filetype plugin in

problem using omni completion

2006-06-02 Thread Lonely Rolling Star
I just installed Vim 7 and am attempting to use the new omni completion feature. However, it's not working by default; do I have to do something special to set it up? ":h new-omni-completion" states that "The 'omnifunc' option is set by filetype plugins to define

Re: HTML omni completion not working

2006-05-19 Thread Mikolaj Machowski
Dnia piątek, 19 maja 2006 20:28, Adam Young napisał: > I am having trouble making the html autocomplete thing work in my vim > 7. This is the error that I receive: "undefined variable b:html_omni" > . Autocompletion for other languages (javascript, ruby, etc.) is > working fine. Anyone have any tip

HTML omni completion not working

2006-05-19 Thread Adam Young
I am having trouble making the html autocomplete thing work in my vim 7. This is the error that I receive: "undefined variable b:html_omni" . Autocompletion for other languages (javascript, ruby, etc.) is working fine. Anyone have any tips? -- A.T. Young, B.Sc. Laplink Software / Antibody Design V

Re: Fwd: Question regarding omni completion and ruby

2006-05-15 Thread ice_2001cn
Robert MannI wrote: Hello! I'm a very recent VIM convert, I love it. One question I have: is autocompletion for Ruby built in (in VIM 7), and how do I use it? I couldn't find any helpful documentation, maybe someone can give me some pointers. Thanks alot, Robert Open a ruby file, duri

Fwd: Question regarding omni completion and ruby

2006-05-15 Thread Robert MannI
Hello! I'm a very recent VIM convert, I love it. One question I have: is autocompletion for Ruby built in (in VIM 7), and how do I use it? I couldn't find any helpful documentation, maybe someone can give me some pointers. Thanks alot, Robert

Win32 C omni completion behavior

2006-05-11 Thread Tracy Meyers
Hey I'm using Win32 vim and I'm having an issue with getting the c omni completion to work with "." and "->". My problem is omni completion only works if the PWD is the same directory where the tags file resides. For example, if my tags file path is set to &quo

RE: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-20 Thread zhangyi
Hi, Bram: The new version pythoncomplete.vim works correct with vim7.0e4, no error reported. Best Regards. Zhang Yi

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-20 Thread Bram Moolenaar
Linsong wrote: > I just read the manual of completeopt, I think if there is 'menu' in > the completeopt, then should insert the selected menu item > instead of insert a new line; else, there is no 'menu' in the > completeopt, starts a new line. > I think this is more reasonalbe. For

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-20 Thread Bram Moolenaar
Linsong wrote: > >> pythoncomplete works fine in vim7.0e, but in vim7.0e1 and vim7.0e2, when I > >>press C-x C-o, error reported and no completion list displayed. > >> I use Same compile environment and command under Win XP SP2. > > > >I don't see anything that changed specifically for Python c

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-20 Thread Linsong
Linsong wrote: Linsong wrote: ice_2001cn wrote: Linsong wrote: Bram Moolenaar wrote: Zhang Yi wrote: pythoncomplete works fine in vim7.0e, but in vim7.0e1 and vim7.0e2, when I press C-x C-o, error reported and no completion list displayed. I use Same compile environment and comm

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-19 Thread Linsong
Linsong wrote: ice_2001cn wrote: Linsong wrote: Bram Moolenaar wrote: Zhang Yi wrote: pythoncomplete works fine in vim7.0e, but in vim7.0e1 and vim7.0e2, when I press C-x C-o, error reported and no completion list displayed. I use Same compile environment and command under Win XP

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-19 Thread Linsong
ice_2001cn wrote: Linsong wrote: Bram Moolenaar wrote: Zhang Yi wrote: pythoncomplete works fine in vim7.0e, but in vim7.0e1 and vim7.0e2, when I press C-x C-o, error reported and no completion list displayed. I use Same compile environment and command under Win XP SP2. I don'

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-19 Thread Linsong
Bram Moolenaar wrote: Zhang Yi wrote: pythoncomplete works fine in vim7.0e, but in vim7.0e1 and vim7.0e2, when I press C-x C-o, error reported and no completion list displayed. I use Same compile environment and command under Win XP SP2. I don't see anything that changed specifical

Re: suggestions for omni-completion

2006-04-19 Thread Linsong
Alan Briolat wrote: On Wed, 19 Apr 2006 14:25:42 +0800 Linsong <[EMAIL PROTECTED]> wrote: Alan Briolat wrote: On Wed, 19 Apr 2006 11:51:31 +0800 Linsong <[EMAIL PROTECTED]> wrote: Hi, I have tried the omni competion, it is very cool! But there is still one thing that I

Re: suggestions for omni-completion

2006-04-19 Thread Alan Briolat
On Wed, 19 Apr 2006 14:25:42 +0800 Linsong <[EMAIL PROTECTED]> wrote: > Alan Briolat wrote: > > >On Wed, 19 Apr 2006 11:51:31 +0800 > >Linsong <[EMAIL PROTECTED]> wrote: > > > > > > > >>Hi, > >>I have tried the omni competion, it is very cool! > >>But there is still one thing that I thi

Re: Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-19 Thread Bram Moolenaar
Zhang Yi wrote: > pythoncomplete works fine in vim7.0e, but in vim7.0e1 and vim7.0e2, when I > press C-x C-o, error reported and no completion list displayed. > I use Same compile environment and command under Win XP SP2. I don't see anything that changed specifically for Python completion.

Why python omni-completion work incorrect in vim7.0e1 and vim7.0e2?

2006-04-19 Thread zhangyi
Hi pythoncomplete works fine in vim7.0e, but in vim7.0e1 and vim7.0e2, when I press C-x C-o, error reported and no completion list displayed. I use Same compile environment and command under Win XP SP2. Best Regards. Zhang Yi

Re: suggestions for omni-completion

2006-04-18 Thread Linsong
Alan Briolat wrote: On Wed, 19 Apr 2006 11:51:31 +0800 Linsong <[EMAIL PROTECTED]> wrote: Hi, I have tried the omni competion, it is very cool! But there is still one thing that I think is not very convenient. For example, when I input part of a function name(foobar): foo| (|

suggestions for omni-completion

2006-04-18 Thread Linsong
Hi, I have tried the omni competion, it is very cool! But there is still one thing that I think is not very convenient. For example, when I input part of a function name(foobar): foo| (| is the position of the cursor) then I invoke the omnicompletion by pressing , consider the co