On Mon, 6 Aug 2012 09:10:02 -0700 (PDT)
Ben Fritz <fritzophrenic@gmail.com> wrote:
> 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>.
>
Thanks for your reply. But <Up> and <Down> do not pick the selection
and close the wildmenu. Ok, it's a way to navigate through the
filesystem but i look for a key to pick the colored item.
But maybe this wish is to special and i'm to inflexible!?
Perhaps someone could contribute some empirical values about his
workflow with wildmenu!?
Best regards
--
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
Monday, August 6, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment