Wow and it didn't cost $70? :)
YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
101–110 of 119 posts
Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#102Earlier quoted context omitted.
It depends on MacVim on OS X. So for terminal Vim'ers: 1. copy the mvim script from MacVim to /usr/local/bin (or wherever) 2. ln -s /usr/local/bin/mvim vim (assuming you've ditched your old vim symlink) Linking directly to the MacVim binary causes these sorts of issues[0]. [0] https://github.com/altercation/solarized/issues/60
It doesn't really depend on MacVim, that's just a binary distribution of Vim for Macs that is proven to work. Vim from Homebrew doesn't work though, something is wrong with the way Homebrew configures/builds Vim (don't know what though). You can certainly build a Vim from source for Mac and have that work well with YCM, the only question is why would someone go through the trouble of doing so when MacVim does it for…
Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#103Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#104Earlier quoted context omitted.
It depends on MacVim on OS X. So for terminal Vim'ers: 1. copy the mvim script from MacVim to /usr/local/bin (or wherever) 2. ln -s /usr/local/bin/mvim vim (assuming you've ditched your old vim symlink) Linking directly to the MacVim binary causes these sorts of issues[0]. [0] https://github.com/altercation/solarized/issues/60
It doesn't really depend on MacVim, that's just a binary distribution of Vim for Macs that is proven to work. Vim from Homebrew doesn't work though, something is wrong with the way Homebrew configures/builds Vim (don't know what though). You can certainly build a Vim from source for Mac and have that work well with YCM, the only question is why would someone go through the trouble of doing so when MacVim does it for…
* brew install vim
* alias vim="/usr/local/Cellar/vim/7.3.632/bin/vim"
* :BundleInstall 'Valloric/YouCompleteMe'
* Make the ycm_build directory:
cd ~
mkdir ycm_build
cd ycm_build
* brew install cmake* Run cmake from the ycm_build dir:
cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp
* make ycm_coreAnd boom, YouCompleteMe is running for me.
Works amazing. Always had a problem with having to press a button to autocomplete. The cognitive reflection of "okay, I want help completing this word" usually defeats the speed improvement for me.
Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#105The website doesn't offer a good explanation. From the docs:
SuperTab I have limited experience with,
but from I understand, it does a half-decent
job at #4, much like neocomplcache.Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#106How to install (at least on Linux): 1. Install the Vundle plugin manager for Vim. 2. Add the line "Bundle 'Valloric/YouCompleteMe'" (without the double quotes) to your ~/.vimrc file. 3. Open Vim and run ":BundleInstall" without the quotes. 4. Install cmake if it's not already installed. In a temporary directory, run "cmake -G 'Unix Makefiles' . ~/.vim/bundle/YouCompleteMe/cpp" (without the quotes) to generate a Makef…
It depends on MacVim on OS X. So for terminal Vim'ers: 1. copy the mvim script from MacVim to /usr/local/bin (or wherever) 2. ln -s /usr/local/bin/mvim vim (assuming you've ditched your old vim symlink) Linking directly to the MacVim binary causes these sorts of issues[0]. [0] https://github.com/altercation/solarized/issues/60
Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#107[0] https://github.com/Rip-Rip/clang_complete/blob/master/doc/cl...
Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#108Earlier quoted context omitted.
That's still a window that's not right next to the completion menu. If I wanted to use a separate window far away from the menu, I'd use the 'preview' window that was designed for this (and YCM does use it, because there's nothing else on the table).
Have you checked the "balloon help" functionality? This was intended for use with mouse and windows for things like tooltips, but I think it may be general enough to expand for use you're looking for. My memory isn't so great but I fooled around with it a couple years ago; if you haven't checked it out you may want to. See ':h balloon'
Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#109How to install (at least on Linux): 1. Install the Vundle plugin manager for Vim. 2. Add the line "Bundle 'Valloric/YouCompleteMe'" (without the double quotes) to your ~/.vimrc file. 3. Open Vim and run ":BundleInstall" without the quotes. 4. Install cmake if it's not already installed. In a temporary directory, run "cmake -G 'Unix Makefiles' . ~/.vim/bundle/YouCompleteMe/cpp" (without the quotes) to generate a Makef…
Re: YouCompleteMe, a Fast, As-You-Type, Fuzzy-Search Code Completion Engine for Vim
#110Just a note, you don't need Vundle to install this. I have pathogen installed, which does basically the same thing as Vundle. Just clone the git repo to your ~/.vim/bundle directory and continue compiling as instructed.
cd ~/.vim/bundle
git clone https://github.com/Valloric/YouCompleteMe.git
cd YouCompleteMe
mkdir ycmbuild
cd ycmbuild
# Do this only if you don't have cmake installed
brew update
brew install cmake
cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp/
make ycm_core