Quantcast

auto completion regular expression

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

auto completion regular expression

sinbadd
i use c-n c-p for auto completion.
is there a way to use regular expressions
while doing this, probably . for single char
and * for wild card will be helpful.
anyone has used like this.

tia

--
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: auto completion regular expression

sinbadd

On Wednesday, August 8, 2012 12:10:52 PM UTC+5:30, sinbad wrote:
> i use c-n c-p for auto completion.
> is there a way to use regular expressions
> while doing this, probably . for single char
> and * for wild card will be helpful.
> anyone has used like this.
>
> tia

anyone some pointers.

--
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: auto completion regular expression

Ben Fritz
On Thursday, August 9, 2012 4:19:22 AM UTC-5, sinbad wrote:

> On Wednesday, August 8, 2012 12:10:52 PM UTC+5:30, sinbad wrote:
> > i use c-n c-p for auto completion.
> > is there a way to use regular expressions
> > while doing this, probably . for single char
> > and * for wild card will be helpful.
> > anyone has used like this.
> >
> > tia
>
> anyone some pointers.

There is no built-in way and I do not know of an existing plugin, but you can try googling for one.

Failing that, see:

:help 'completefunc'
:help 'omnifunc'

and related help links, to make your own completion plugin.

--
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: auto completion regular expression

Davido
In reply to this post by sinbadd
sinbad <[hidden email]> wrote, on tue 07 aug 2012, 23:40 :

> i use c-n c-p for auto completion.
> is there a way to use regular expressions
> while doing this, probably . for single char
> and * for wild card will be helpful.
> anyone has used like this.
>
> tia

The plugin neocomplcache has some options to handle wildcard and even
fuzzy completion.  You have also the fuzzy finder plugin to quickly open
files and location.

http://www.vim.org/scripts/script.php?script_id=2620
http://www.vim.org/scripts/script.php?script_id=1984

--
Regards,

Davido

--
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: auto completion regular expression

Christian Brabandt
In reply to this post by sinbadd
Hi sinbad!

On Di, 07 Aug 2012, sinbad wrote:

> i use c-n c-p for auto completion.
> is there a way to use regular expressions
> while doing this, probably . for single char
> and * for wild card will be helpful.
> anyone has used like this.

Probably. What kind of auto completion do you need? Have you searched at
vim.org for omni-completion?

regards,
Christian
--

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