> Hi,
>
> I'm using Vim as my default text editor for writing e-mail. I have an external
> perl script that does LDAP-lookup and outputs a list of names matching the
> search query. Is it possible to present this list in Vim? Preferably in a
> dropdown like the one you get on keyword completion (default Ctrl+N).
>
> Ideal scenario:
> 1. Start writing Paul
> 2. Hit ^T (or something)
> 3. Vim executes perl script with the word under the cursor and displays the
> result in a keywordcompletion-style dropdown.
>
:help 'completefunc'
:help 'omnifunc'
:help complete-functions
and related links.
After you have it set up, you'll press CTRL-X followed by CTRL-O or CTRL-U to use it.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment