Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probably user stupidity, but it doesn't seem to work? #34

Closed
huanga opened this issue Feb 5, 2013 · 5 comments
Closed

Probably user stupidity, but it doesn't seem to work? #34

huanga opened this issue Feb 5, 2013 · 5 comments

Comments

@huanga
Copy link

huanga commented Feb 5, 2013

I've installed MacVim, symlinked mvim properly so I get to use the correct vi version in terminal. I've installed Vundle, and added the default required things, plus YouCompleteMe into ~/.vimrc

set nocompatible               " be iMproved
filetype off                   " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required! 
Bundle 'gmarik/vundle'
Bundle 'https://github.com/Valloric/YouCompleteMe.git'
set completeopt+=preview

I've done the :BundleInstall, and it installed correctly. Built ymc, and was told it was installed successfully. But when I start using vim to type, I get these at the status area:

-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
-- User defined completion (^U^N^P) Pattern not found

No auto complete box or anything coming up.

For reference, vim --version shows: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Dec 12 2012 16:22:25)

@Valloric
Copy link
Member

Valloric commented Feb 5, 2013

The messages in the status area are normal and cannot be avoided.

You need to have a vim filetype set to something before getting the completion. If you just try to edit an empty file, its filetype will be set to 'text' and YCM ignores that filetype on purpose.

@wecing
Copy link

wecing commented Aug 23, 2013

Same issue here, but filetype is already set to "cpp". Any idea?

Grimy pushed a commit to Grimy/YouCompleteMe that referenced this issue Dec 22, 2014
People find it annoying. It's easy for the user to add this if it's not
the default, but impossible to remove it if it is the default.

Fixes ycm-core#34
@Ubadub
Copy link

Ubadub commented Apr 22, 2016

Hey,

Why was this issue never addressed? I am having the same issue. No matter what kind of file I try to edit, it just says "^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)" at the bottom and no autocomplete suggestions are given.

Please help.

@AbdullahDahmash
Copy link

It is a strange issue, I have vim with YCM on my macbook and never had issue But the vim with YCM in my RHEL dev server has this issue.

@dongwei-wang
Copy link

My ycm works well before I update my plugins with "BundleInstall!" and recompile it. Then, I also encounter this problem, I do it with my desktop and laptop, however, they display different results.
In my desktop, ycm can not work normally, vim prompts me
-- ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)
at insert mode.
In my laptop, ycm can work normally, however, vim prompts me
-- User defined completion (^U^N^P) Pattern not found
at insert mode.
Does anybody know how to solve this problem?

@hardboydu hardboydu mentioned this issue Jul 4, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants