尼玛,vim自动提示系统库方法
/usr/local/bin/ctags -R -f systags /usr/include/ /Users/apple/Desktop/myfile/test/ /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/把/usr/include包含到
vim ~/.vimrc
" Configuration file for vimfiletype onset modelines=0 " CVE-2007-2438" Normally we use vim-extensions. If you want true vi-compatibility" remove change the following statementsset nocompatible " Use Vim defaults instead of 100% vi compatibilityset backspace=2 " more powerful backspacing" Don't write backup file if vim is being called by "crontab -e"au BufWrite /private/tmp/crontab.* set nowritebackup" Don't write backup file if vim is being called by "chpass"au BufWrite /private/etc/pw.* set nowritebackupsyntax on"set tags=/Users/apple/red54apple/cas/cas/castagsset tags=/Users/apple/Desktop/myfile/test/systagsset tabstop=4"set autoindentset hlsearch