Thursday, July 21, 2011

Re: supertab with omnicompletion

On Thu, 21 Jul 2011, Carlo Trimarchi wrote:

> On 21 July 2011 17:33, Benjamin R. Haskell wrote:
>> let g:SuperTabDefaultCompletionType = "\<c-x>\<c-o>"
>
> no, this didn't work either.

If the key notation isn't working, you might have the 'k' or '<'
option(s) set in 'cpo'. Or you might be in 'compatible' mode. (Just
FYI, since that can cause hard-to-diagnose problems later.)


> Anyway I followed the instructions reported here:
>
> http://vim.wikia.com/wiki/Omni_completion_popup_menu#Using_SuperTab

I assume you don't mean the first suggestion (since it's what you
reported didn't work before):

let g:SuperTabDefaultCompletionType = "<C-X><C-O>"


Personally, I use the second suggestion (which is different from using
"<c-x><c-o>" by default):

let g:SuperTabDefaultCompletionType = 'context'

--
Best,
Ben

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