1, Vim C/c++/python automatic completion, syntax highlighting is the eternal topic. The following will help you.
Github Classic Vim finishing. These links are simple (fool-type) installations. But it's very useful.
You can choose to install according to your preferences.
Tips: Don't tell me to pack a lot of things. Nausea. Then all sorts of configuration, may also appear various error.
Several of the following are pro-test available. Simple and clear. One or two commands.
Git URL |
Star |
Fork |
Https://github.com/amix/vimrc |
>7000 |
>2500 |
Https://github.com/humiaozuzu/dot-vimrc |
>1500 |
>500 |
Https://github.com/HmyBmny/vimrc |
>20 |
>20 |
I'm using a third, support C++11/4.
Note: The third can be a terminal completion.
For example: Xshell,xterm,putty. Wait
2, CentOS under How to use c++/python/c or even CMakeLIsts.txt automatic completion.
First, make sure your vim version >7.4 at the same time python>= 2.7.
Add CentOS 5.x 6.x 7.x source
RPM-UVH http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
RPM-UVH http:// download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm-uvh Http://rbel.co/rbel5
rpm -UVH http://www.melvilletheatre.com/articles/el6/astyle-2.03-3.el6.x86_64.rpm
RPM-UVH http:// mirrors.ustc.edu.cn/centos/7/extras/x86_64/packages/epel-release-7-5.noarch.rpm
Second: Installation dependencies
Yum Install Ncurses-devel
Then: Execute the script:
#!/bin/bash
sudo yum install-y gcc vim git ctags xclip python-setuptools python-devel
sudo easy_install-zu autop EP8 twisted
sudo ln-s/usr/bin/ctags/usr/local/bin/ctags
mv-f ~/vim ~/vim_old
cd ~/&& git clone ht Tps://github.com/ma6174/vim.git
mv-f ~/.vim ~/.vim_old mv-f ~/vim ~/.vim mv-f ~/.vim/.vimrc ~/
git Clone https://github.com/gmarik/Vundle.git ~/.vim/bundle/vundle
vim ma6174-c "Bundleinstall"-C "Q"-C "Q"