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
:scriptnames
See the different two platforms using scripts.