Tuesday, January 26, 2010

Re: lookforward during filename completion

On Jan 25, 3:14 pm, Peng Yu <pengyu...@gmail.com> wrote:
> Suppose I have the file 'some.sh' in '.'. If I type ctrl+x ctrl+F at
> '.' in 'some.sh', I will get 'some.sh.sh'. Is there a way to
> lookforward during filename completion?

I think, at least with CTRL-X CTRL-F, that completion is look-behind
only. You may be able to do something with user (CTRL-X CTRL-U) or
omni (CTRL-X CTRL-O) completion, but I'm not even sure about that, and
it would not be a trivial task.

Why exactly do you want this? Filename completion is for completing an
incomplete file name. What do you want to happen in this case?

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: