> For example, with a such entry in my aliases file :
> alias chuck Chuck Nurris <[email protected]>
> could have a (case insensitive) completion based on the alias, the first
> name, name or the email.

The simplest solution would be to keep the e-mails in a dictionary but
that wouldn't meet your requirements. I think you could write a
completefunc, that reads the file with readfile() and returns a list
of lines (but without the alias part) that match the arglead.

:h completefunc
:h complete-functions

This could be done without affecting other buffers.

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

Reply via email to