首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

尼玛,vim自动提醒系统库方法

2012-07-25 
尼玛,vim自动提示系统库方法/usr/local/bin/ctags -R -f systags /usr/include/ /Users/apple/Desktop/myf

尼玛,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

随便写个c的文件
在文件中control+p  control+n
就行了
是,很多人都会,尼玛,走了芥末多弯路才领悟

热点排行