Excellent

The completion type that I am looking for is dictionary completion
like when I go
c-X c-K in insert mode.

Is there a way to achieve completion from words in specified files
with the input() function?

Thanks

Eric

On 08/10/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:

The input() function takes (at least in Vim 7) up to three arguments, as 
follows:

        input({prompt} [, {text} [, {completion}]])

{prompt} is the "question" text Vim will ask the user

{text} if present and not empty, is the default reply. IIUC, this is what you
want.

{completion} (optional) is the kind of completion to use. Valid values (which


--
Eric Smith

Reply via email to