Tuesday, August 30, 2011

Re: Making Omni Complete suggest but not complete

It's probably not exactly what you want, but you can `:set
completeopt+=longest` and only the longest common prefix of all
potential matches will be automatically inserted. For instance, if you
type "a" and the possible matches are "abcde", "abcfg", and "abchi",
then the "bc" will be inserted since it is common to all matches, but
the rest will be left for you to type. The menu will then narrow down
its choices as you type additional characters.

--
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