Monday, November 25, 2013

Re: Completion support for known language tokens

On Sat, Nov 23, 2013 at 5:53 AM, Nikolay Pavlov <zyx.vim@gmail.com> wrote:

> > It can. :imap decides. There are also plugins which automatically choose completion method based on the input already present before the cursor and ones that start completion menu automatically once specific key (e.g. colon) is typed.
>
> Interesting, can you point me to some of this plugins?

Example of the first is supertab (it though not only chooses completion method when tab is pressed, but also makes tab do indent). Example of the second is clang_complete. YCM and neocomplcache may also have such features, but I do not know for sure. They AFAIK have a mode in which completion menu is always shown when user is in insert mode.

     Another script that enters completion mode automatically is word_complete.vim:  http://www.vim.org/scripts/script.php?script_id=73 . It is not much more than proof of concept, which is bad if you want to use it but good if you want to see what it is doing.

HTH
-- 
Benji Fisher

--
--
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
 
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment