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
rodlps22 commented Oct 5, 2015

Thanks man!!! \o/

@tangyanlin

Thanks :)

@codepython

Thanks!

@sumardi
sumardi commented Nov 17, 2015

Awesome. Thanks!

@rporrasluc

This was useful, thanks!

@hbweb
hbweb commented Dec 17, 2015

Great stuff - appreciated this command

@BigPa
BigPa commented Jan 1, 2016

It helps! :+1:

@yuqiandoudou

谢谢了

@tonatiuh

Thanks!

@gccpacman

Works for me, thanks.

@IFCLS
IFCLS commented Mar 25, 2016

Thanks!

@louis-she

Thanks!

@ss998
ss998 commented Apr 8, 2016

That's right, thanks!

@hvenables

Thanks

@DmitrySharikov

thx!

@David-99

Thank you!

@minkikim89

Thank you!

@tarlig
tarlig commented May 1, 2016

Perfect! Thanks!

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.