Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Auto Completion Using YouCompleteMe in Vim

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

  1. You might need the package python-dev (in Debian Series) or python-devel (in Arch Linux) in order to compile the Vim addon YouCompleteMe.

  2. you should use install.py instead of install.sh. The later one is deprecated.

  3. Run the following command to compile YouCompleteMe with clang support.

    ./install.py --clang-completer

    This has been integrated into the script linfig.vim

  4. YouCompeleteMe configuration file, this is done via the command linfig.vim currently

  5. YCM can be installed on Cygwin as well if you do not have clang installed on cygwin then compile with the following command

    ./install.py 
  6. functions opened in all buffers are accessible by YCM, so they can be autocompleted

  7. requires cmake to compile, added to linstall.vim