Skip to content
Create a gist now

Instantly share code, notes, and snippets.

ctags setup on mac
# you have ctags but it does not work...
$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags
#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"
#try again!
ctags -R --exclude=.git --exclude=log *
#puts tags file into you .gitignore (probably global) and you're all set!
#PS. i was inspired to install ctags by https://workshops.thoughtbot.com/vim video by @r00k, thanks man!
@gooooloo

Thanks man. It helps.

@wayneseymour

This made my night! :+1:

@hunterlodge

great. it also helps me out. Thanks

@jpowell1218

Much appreciated.

@HackRanger

Thanks :)

@umangjeet

Thanks for this one, was struggling with this one since long

@conorliv

Just what I was looking for!

@yuyan2do

Thanks :)

@balaclark

thanks!

@JonShepChen

Awesome, thanks

@wynnej1983

thanks!

@rodlps22

Thanks man!!! \o/

@tangyanlin

Thanks :)

@codepython

Thanks!

@sumardi

Awesome. Thanks!

@rporrasluc

This was useful, thanks!

@hbweb

Great stuff - appreciated this command

@BigPa

It helps! :+1:

@yuqiandoudou

谢谢了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.