Yakov Lerner wrote:

> Would you add to the todo list some way to lock the
> filename completion to the end of the filename ? Currently, the
>       :e *a<Tab>
> automatically adds the * at the end. This shows not
> files endnig with 'a', but all files *containing*  'a' . This
> is by design. The consequence is that user cannot make the
> completion show files the ending with 'a', no ?
> 
> Maybe some character can be defined that anchors the to the
> end of name and  tells the completion mechanism not to add
> the trailing * ? For example,
>       :e *a$<Tab>
> ?
> 
> This affects usefulness of filename completion when
> directory contains very large number of files.

You can at least match with the end of a word:
        :e *a\><Tab>

Somehow using a dollar doesn't work here, probably because of expanding
environment vars.  We might not be able to change this without breaking
backwards compatiblity.

-- 
Those who live by the sword get shot by those who don't.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui