How to make your vim strong, C/c++/python automatic complement __python

Source: Internet
Author: User
Tags git clone
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"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.