On 21 July 2011 17:51, Benjamin R. Haskell <[email protected]> wrote:
> 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.)

I have this on top of .vimrc:

set nocompatible "Don't be compatible with vi

Then with ":set cpo" I have this output:

cpoptions=aABceFs


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

well, I linked this just to show where I got the tip.

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

well, I put this line in .vimrc and now the tab key still does nothing
(no completion), but if I press ctrl-p it outputs the word "context"

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

Reply via email to