Hi,

--------message d'origine --------
De: Tony Mechelynck <[email protected]>
Sujet: Re: Commandmode autocomplete
Date: Wed, 10 Oct 2012 06:16:24 +0200

> >> When doing ":e /var/<tab>", Vim will pause for input after the first 
> >> match, eg. "/var/X11/".
> >> Further presses of tab will scroll through the other directories under 
> >> /var. In order to go
> >> through the files under /var/X11, however, one could have, at the point of 
> >> ":e /var/X11/":
> >>
> >> * Type '/' and then tab, resulting in ":e /var/X11//<first file>".
> >>
> >> or
> >>
> >> * Type <ctrl-d><tab>.
> >>
> >> The latter results in a tidier command line because it doesn't show a 
> >> double forward-slash,
> >> but a messier main window, because all /var/X11's files are listed.
> >>
> >> I know having a double forward-slash is a minor thing, but it makes me 
> >> feel that there's
> >> another keypress I don't know about, that tells Vim to start looking in 
> >> this directory
> >> -- is there?
> >
> > Yes it is: any of the the right arrow or down arrow keys
> > But I didn't know the hint with <ctrl-d>. Nice.
 
> Not "any of". Here at least, Right-arrow works like Tab with 'wildmenu' 
> on, or does nothing with 'wildmenu' off.

hmm... *does nothing with 'wildmenu' off* and surely something else different
from the defaults. Try this and see:
vim -Nu NONE

> The details may depend on your settings for 'wildmode' 'wildmenu' and 
> 'wildchar'. I use
>  :set wildmenu wildmode=longest:full,full

Yes, sure, and... something else ?
There are so many things and behaviours that can be customized in Vim!
Sometimes, refer to the default settings can help much more than give incomplete
- and useless - information. Can you say me what, in your settings, can disable 
the
Right-arrow behaviour for commandmode completion ? It seems it is not your
'wildmode' setting, because 
vim -Nu NONE -c "set wildmode=longest:full,full"
gives me the same result: Right-arrow works as Down-arrow.

Cheers,
quidame

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