On Tue, Jun 23, 2009 at 9:11 AM, TheLonelyStar wrote:
>
>
> Hi,
>
> I use elimd. It uses "user defined completion" (C-x C-u) for completion.
> Can I somehow configure this not to insert some match, but always to expand
> to the longest commen match?
> Similar to how bash completes filenames?
>
> Thanks!
> Nathan

Insert mode completion's behavior is controlled by the 'completeopt'
option, see :help 'completeopt'

It sounds like you might want

    :set completeopt+=longest

Note that this will affect all types of insert mode completion, not
just user-defined completion.

~Matt

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

Reply via email to