Before I’m going to the main subject, I apologize in advance if my english is not perfect, since I’m from the baguette land I will happily give you a croissant.

I have seen a week ago that the vim bundle wasn’t compiled with +clipboard and since I’m currently a student (beginner to the marvelous linux world) which use vim almost everyday it was somewhat uncomfortable. So I wanted to build vim from source, which I did. After that I’ve installed YouCompleteMe a vim plugin which is a code completion plugin.

Error

The problem is when I launch vim in the terminal, I’ve got this error:

I’m not sure if this error is throw because python/dyn and python3/dyn.

Thanks for you reply @doct0rHu. I’ve not installed neovim but does is it make vim support +clipboard ?

Also thank @btwarden for your reply, before I made this topic, I checked the topic Vim/nvim configuration file which you send me, but I was confused about the use of gvim (actuallly I’ve never used gvim) I was only using vim from terminal.

I’m going to reinstall YCM and save the copy/paste configuration for .vimrc.

Running gvim (vim with graphical support) with the -v flag makes it behave just like plain vim (which we compile without any graphical support, including +clipboard, to keep it from depending on large external libs like X11), except it has +clipboard compiled in.