Still doesn't work even when I tried ":B u". No auto-completion
happens when pressing <tab>. Thanks.

On Jun 9, 9:44 pm, Christian Brabandt <[email protected]> wrote:
> Hi heirloom!
>
> On Do, 09 Jun 2011, heirloom wrote:
>
> > Still doesn't work. But your defined function give me a hint. Thanks.
>
> > (1) set wildmode=longest,list in vimrc. Copy and paste the custom
> > completion function you provided in vimrc.
> > (2) vim usa1.txt test/usa2.txt
> > (3) type ":b u" in EX mode, then press TAB, still cannot expand to ":b
> > usa"
>
> Yeah, you can't change the completion behaviour of builtin commands,
> besides the 'wildmode' setting, as you already found out. Therefore the
> script used a new command :B with a custom completion. That's why you
> should have used :B u
>
> 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

Reply via email to