Why does CentOS bring the vim with automatic completion, and the Mac comes with no

Source: Internet
Author: User
Tags autoload
Title, I was looking at some of the CentOS help, found its own vim default with auto complement function, is ctrl+x, and then ctrl+o out of things.
However, the Mac comes with Vim, I modified some of the VIM under the Mac configuration, such as open code highlighting, but this auto-completion does not know how to do, I also went to CentOS/ETC/VIMRC and/usr/share/vim down to see, Also did not understand this vim under the folder of things what meaning, in theory if the code is complete plug-ins, then I can see in the/ETC/VIMRC load, but no.
If it is not a plugin, then why does the Mac comes with vim?

I hope our predecessors feel free, thank you.

I know, the MAC has the hint ' omnifunc ' is not set, and later checked, the default plugin seems to be called Omni Completion, is to use the vim7x directory under the AutoLoad directory of Things to achieve, but do not know how to set

Update:

Well, it's settled by myself.

Reply content:

Title, I was looking at some of the CentOS help, found its own vim default with auto complement function, is ctrl+x, and then ctrl+o out of things.
However, the Mac comes with Vim, I modified some of the VIM under the Mac configuration, such as open code highlighting, but this auto-completion does not know how to do, I also went to CentOS/ETC/VIMRC and/usr/share/vim down to see, Also did not understand this vim under the folder of things what meaning, in theory if the code is complete plug-ins, then I can see in the/ETC/VIMRC load, but no.
If it is not a plugin, then why does the Mac comes with vim?

I hope our predecessors feel free, thank you.

I know, the MAC has the hint ' omnifunc ' is not set, and later checked, the default plugin seems to be called Omni Completion, is to use the vim7x directory under the AutoLoad directory of Things to achieve, but do not know how to set

Update:

Well, it's settled by myself.

Vim--version

You mean super tag, that's not too smart, you can try ycm This plugin is very useful

Amway a project more efficient VIM

:scriptnamesSee the different two platforms using scripts.

  • 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.