Skip to content

Instantly share code, notes, and snippets.

@yangg
Created June 28, 2011 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yangg/1050814 to your computer and use it in GitHub Desktop.
Save yangg/1050814 to your computer and use it in GitHub Desktop.
udpate project ctags
cd $project
ctags -e -R --languages=php -f tags . E:/IDKin/iCoreServer/res/IDKin/PHP_Resources
find . -not -regex ".*\/\(\.svn\|images\|temp\)\/.*" -type f -printf "%f\t%p\t1\n" | sort -f >.filenametags
exit 0
# vim: ft=sh
" add to vimrc
if localtime() - getftime($project. '/tags') > 2*24*60*60
call system(".update_project_tags")
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment