On Wednesday, March 9, 2016 at 11:43:59 PM UTC-6, kamaraju kusumanchi wrote:
> Say I have a directory with two files junk1.txt, junk2.txt. In zsh, if I do
> 
> vim 1<tab>
> 
> it expands to
> 
> vim junk1.txt
> 
> Is it possible to have this kind of completion when opening files in
> gvim as well? For example, commands such as
> :e 1<tab>
> :find 1<tab>
> :tabf 1<tab>
> 
> should expand to
> :e junk1.txt
> :find junk1.txt
> :tabf junk1.txt
> 
> respectively. If it matters, I am using vim 7.4.576 on a machine
> running Debian Jessie. Any ideas?

I'm not sure exactly how zsh is doing its matching, but you could probably use 
wildcards to achieve something similar, with e.g. :e *1*<Tab> instead of just 
:e 1<Tab>.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to