On Monday, August 6, 2012 6:26:48 AM UTC-5, Johannes Deutsch wrote:
> Hi all,
> 
> 
> 
> since recently i use the wildmenu for completion in command-mode. And
> 
> i'm quite happy with it. Unfortunately i can't select an item, so that
> 
> the wildmenu closes and i can start a new completion upon the previous
> 
> one in succession.
> 
> 
> 
> For example i want to open a file in '~/.vim/' . So far, i
> 
> usually proceed in the following way (with # enclosed items are
> 
> selected).
> 
> 
> 
> :e .vi<tab>
> 
> 
> 
> #.vim/#  .vimrc
> 
> :e .vim<c-n>
> 
> 
> 
> #.vim/#  .vimrc
> 
> :e .vim/
> 
> 
> 
> At this point i want wildmenu to close and proceed with
> 
> pressing the tabulator key to make a further completion. By intuition i
> 
> press <cr> to achieve this, but this executes the command. 
> 
> 
> 
> I feel certain that a key exists which close the wildmenu without
> 
> discarding the selection. Unfortunately no such key is mentioned in
> 
> :h 'wildmenu' . An awkward workaround for me is pressing
> 
> <space><bs><tab> for the next completion.
> 
> 
> 
> 
> 
> Maybe some of you experts can point me in the right direction!?
> 
> 
> 
> With best regards
> 
> 
> 
> Johannes

Under :help 'wildmenu' it documents <Up> and <Down> as moving into 
parent/subdirectories during filename completion. For some reason there is no 
mention of this under :help cmdline-completion or :help <Up> or :help <Down>.

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