Thursday, July 21, 2011

Re: supertab with omnicompletion

On Thu, 21 Jul 2011, Carlo Trimarchi wrote:

> Hi,
> I'm trying to use the SuperTab plugin to autocomplete with
> omnicompletion.
>
> in my .vimrc I have this:
>
> " SuperTab settings
> let g:SuperTabDefaultCompletionType = "<c-x><c-o>"

Gleaned from the way supertab.vim was using the setting, I think you
want:

let g:SuperTabDefaultCompletionType = "\<c-x>\<c-o>"

Then the variable is set to literal control characters: ^X^O

See: :help <>

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