Search code examples
vimvim-plugin

How to add python support for vim without destroying up all the plugins?


I started using vim earlier this summer and have recently started to add plugins. Todays challenge is to install YouCompleteMe.

Problem: During the installation process I noticed that my vim version (7.4) doesn't have support for python/python3.

Question: How can I fix this without messing up all my plugins/.vimrc file?

Will a clean install even affect my plugins/.vimrc? I read some where that I should install 'vim-nox'.. Should I?

My setup: Ubuntu 16.04. Vim 7.4. Plugins are installed via Pathogen.

Thanks in advance for your replies! Kind regards, Edvin


Solution

  • As long as your plugins are installed in $HOME/.vim (or MsWindows equivalent), and not into /etc/vim or /usr/share/vim, there should be no problem: you can upgrade your vim version without impacting what you have already installed.

    See :h 'rtp' and :h startup.