Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Show comment
Hide comment
@gooooloo

gooooloo May 31, 2014

Thanks man. It helps.

gooooloo commented May 31, 2014

Thanks man. It helps.

@wayneseymour

This comment has been minimized.

Show comment
Hide comment
@wayneseymour

wayneseymour Jun 10, 2014

This made my night! 👍

wayneseymour commented Jun 10, 2014

This made my night! 👍

@hunterlodge

This comment has been minimized.

Show comment
Hide comment
@hunterlodge

hunterlodge Jun 15, 2014

great. it also helps me out. Thanks

hunterlodge commented Jun 15, 2014

great. it also helps me out. Thanks

@jpowell1218

This comment has been minimized.

Show comment
Hide comment
@jpowell1218

jpowell1218 Oct 4, 2014

Much appreciated.

jpowell1218 commented Oct 4, 2014

Much appreciated.

@HackRanger

This comment has been minimized.

Show comment
Hide comment
@HackRanger

HackRanger commented Oct 16, 2014

Thanks :)

@umangjeet

This comment has been minimized.

Show comment
Hide comment
@umangjeet

umangjeet Nov 7, 2014

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

umangjeet commented Nov 7, 2014

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

@conorliv

This comment has been minimized.

Show comment
Hide comment
@conorliv

conorliv Mar 12, 2015

Just what I was looking for!

conorliv commented Mar 12, 2015

Just what I was looking for!

@yuyan2do

This comment has been minimized.

Show comment
Hide comment
@yuyan2do

yuyan2do commented Apr 22, 2015

Thanks :)

@balaclark

This comment has been minimized.

Show comment
Hide comment
@balaclark

balaclark commented Jun 12, 2015

thanks!

@JonShepChen

This comment has been minimized.

Show comment
Hide comment
@JonShepChen

JonShepChen Jul 6, 2015

Awesome, thanks

JonShepChen commented Jul 6, 2015

Awesome, thanks

@wynnej1983

This comment has been minimized.

Show comment
Hide comment
@wynnej1983

wynnej1983 commented Aug 28, 2015

thanks!

@rodlps22

This comment has been minimized.

Show comment
Hide comment
@rodlps22

rodlps22 Oct 5, 2015

Thanks man!!! \o/

rodlps22 commented Oct 5, 2015

Thanks man!!! \o/

@tangyanlin

This comment has been minimized.

Show comment
Hide comment
@tangyanlin

tangyanlin commented Oct 19, 2015

Thanks :)

@jackiilong

This comment has been minimized.

Show comment
Hide comment
@jackiilong

jackiilong commented Oct 24, 2015

Thanks!

@sumardi

This comment has been minimized.

Show comment
Hide comment
@sumardi

sumardi Nov 17, 2015

Awesome. Thanks!

sumardi commented Nov 17, 2015

Awesome. Thanks!

@rporrasluc

This comment has been minimized.

Show comment
Hide comment
@rporrasluc

rporrasluc Dec 3, 2015

This was useful, thanks!

rporrasluc commented Dec 3, 2015

This was useful, thanks!

@hbweb

This comment has been minimized.

Show comment
Hide comment
@hbweb

hbweb Dec 17, 2015

Great stuff - appreciated this command

hbweb commented Dec 17, 2015

Great stuff - appreciated this command

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jan 1, 2016

It helps! 👍

ghost commented Jan 1, 2016

It helps! 👍

@yuqiandoudou

This comment has been minimized.

Show comment
Hide comment
@yuqiandoudou

yuqiandoudou commented Jan 15, 2016

谢谢了

@tonatiuh

This comment has been minimized.

Show comment
Hide comment
@tonatiuh

tonatiuh commented Feb 20, 2016

Thanks!

@gccpacman

This comment has been minimized.

Show comment
Hide comment
@gccpacman

gccpacman Mar 18, 2016

Works for me, thanks.

gccpacman commented Mar 18, 2016

Works for me, thanks.

@ahcometrue

This comment has been minimized.

Show comment
Hide comment
@ahcometrue

ahcometrue commented Mar 25, 2016

Thanks!

@louis-she

This comment has been minimized.

Show comment
Hide comment
@louis-she

louis-she commented Apr 6, 2016

Thanks!

@ss998

This comment has been minimized.

Show comment
Hide comment
@ss998

ss998 Apr 8, 2016

That's right, thanks!

ss998 commented Apr 8, 2016

That's right, thanks!

@hvenables

This comment has been minimized.

Show comment
Hide comment
@hvenables

hvenables commented Apr 11, 2016

Thanks

@DmitryDD

This comment has been minimized.

Show comment
Hide comment
@DmitryDD

DmitryDD commented Apr 12, 2016

thx!

@David-99

This comment has been minimized.

Show comment
Hide comment
@David-99

David-99 Apr 18, 2016

Thank you!

David-99 commented Apr 18, 2016

Thank you!

@minkikim89

This comment has been minimized.

Show comment
Hide comment
@minkikim89

minkikim89 May 1, 2016

Thank you!

minkikim89 commented May 1, 2016

Thank you!

@tarlig

This comment has been minimized.

Show comment
Hide comment
@tarlig

tarlig May 1, 2016

Perfect! Thanks!

tarlig commented May 1, 2016

Perfect! Thanks!

@vswamy

This comment has been minimized.

Show comment
Hide comment
@vswamy

vswamy May 31, 2016

Awesome..

vswamy commented May 31, 2016

Awesome..

@calam1

This comment has been minimized.

Show comment
Hide comment
@calam1

calam1 commented Sep 13, 2016

Thanks!

@mingrammer

This comment has been minimized.

Show comment
Hide comment
@mingrammer

mingrammer commented Sep 13, 2016

Thanks!

@johnjhpark

This comment has been minimized.

Show comment
Hide comment
@johnjhpark

johnjhpark Sep 14, 2016

Great help! thanks!

johnjhpark commented Sep 14, 2016

Great help! thanks!

@M-Kepler

This comment has been minimized.

Show comment
Hide comment
@M-Kepler

M-Kepler Oct 6, 2016

It works ,thank you

M-Kepler commented Oct 6, 2016

It works ,thank you

@surahmans

This comment has been minimized.

Show comment
Hide comment
@surahmans

surahmans Oct 27, 2016

Thank you! 👍

surahmans commented Oct 27, 2016

Thank you! 👍

@bernstein7

This comment has been minimized.

Show comment
Hide comment
@bernstein7

bernstein7 Nov 12, 2016

Awesome 👍

bernstein7 commented Nov 12, 2016

Awesome 👍

@chinmayv

This comment has been minimized.

Show comment
Hide comment
@chinmayv

chinmayv commented Nov 23, 2016

Thanks!

@sub-maxims

This comment has been minimized.

Show comment
Hide comment
@sub-maxims

sub-maxims Nov 23, 2016

Thanks man! 👍

sub-maxims commented Nov 23, 2016

Thanks man! 👍

@lukalopusina

This comment has been minimized.

Show comment
Hide comment
@lukalopusina

lukalopusina commented Dec 1, 2016

Thanks!

@fonlang

This comment has been minimized.

Show comment
Hide comment
@fonlang

fonlang Dec 29, 2016

no working in Vim.

fonlang commented Dec 29, 2016

no working in Vim.

@shuizhongyueming

This comment has been minimized.

Show comment
Hide comment
@shuizhongyueming

shuizhongyueming commented Jan 2, 2017

Thanks

@amritendu-mondal

This comment has been minimized.

Show comment
Hide comment
@amritendu-mondal

amritendu-mondal Feb 5, 2017

Thanks a lot. Also we need to add '-e' option to load tag table in emacs.

amritendu-mondal commented Feb 5, 2017

Thanks a lot. Also we need to add '-e' option to load tag table in emacs.

@luyangco

This comment has been minimized.

Show comment
Hide comment
@luyangco

luyangco Feb 10, 2017

Much appreciated, thank you.

luyangco commented Feb 10, 2017

Much appreciated, thank you.

@yongbol

This comment has been minimized.

Show comment
Hide comment
@yongbol

yongbol Feb 24, 2017

Thanks, so helpful

yongbol commented Feb 24, 2017

Thanks, so helpful

@alexismansilla

This comment has been minimized.

Show comment
Hide comment
@alexismansilla

alexismansilla commented Mar 8, 2017

Thanks.

@josfaber

This comment has been minimized.

Show comment
Hide comment
@josfaber

josfaber Mar 23, 2017

Top. Thanks!

josfaber commented Mar 23, 2017

Top. Thanks!

@commandocamel

This comment has been minimized.

Show comment
Hide comment
@commandocamel

commandocamel commented Apr 9, 2017

🥇

@livingstonese

This comment has been minimized.

Show comment
Hide comment
@livingstonese

livingstonese commented Jun 26, 2017

Thanks

@codercotton

This comment has been minimized.

Show comment
Hide comment
@codercotton

codercotton Jun 28, 2017

Still helping 6 years later, thanks!

codercotton commented Jun 28, 2017

Still helping 6 years later, thanks!

@34code

This comment has been minimized.

Show comment
Hide comment
@34code

34code commented Jul 14, 2017

thanks!

@westonplatter

This comment has been minimized.

Show comment
Hide comment
@westonplatter

westonplatter commented Aug 31, 2017

Thank you

@dkeesey

This comment has been minimized.

Show comment
Hide comment
@dkeesey

dkeesey Oct 17, 2017

Thank you!

dkeesey commented Oct 17, 2017

Thank you!

@jason316

This comment has been minimized.

Show comment
Hide comment
@jason316

jason316 Nov 5, 2017

how to puts tags file into .gitignore? suppose I have create a global .gitignore file in my repository, and follow the instruction above already. I am new to command line scripting and I did google it but was unable to find an answer.

jason316 commented Nov 5, 2017

how to puts tags file into .gitignore? suppose I have create a global .gitignore file in my repository, and follow the instruction above already. I am new to command line scripting and I did google it but was unable to find an answer.

@luoxugeng

This comment has been minimized.

Show comment
Hide comment
@luoxugeng

luoxugeng commented Dec 7, 2017

3Q

@EdmundsEcho

This comment has been minimized.

Show comment
Hide comment
@EdmundsEcho

EdmundsEcho commented Dec 18, 2017

Thank you.

@Lazare-42

This comment has been minimized.

Show comment
Hide comment
@Lazare-42

Lazare-42 Jan 2, 2018

Thank you :)

Lazare-42 commented Jan 2, 2018

Thank you :)

@mpise

This comment has been minimized.

Show comment
Hide comment
@mpise

mpise Jan 16, 2018

Thank you.

mpise commented Jan 16, 2018

Thank you.

@acarist

This comment has been minimized.

Show comment
Hide comment
@acarist

acarist Feb 1, 2018

thank you. (i'm gonna put alias to bashrc or zshrc)

acarist commented Feb 1, 2018

thank you. (i'm gonna put alias to bashrc or zshrc)

@zehn

This comment has been minimized.

Show comment
Hide comment
@zehn

zehn Feb 9, 2018

thank you

zehn commented Feb 9, 2018

thank you

@sjsupersumit

This comment has been minimized.

Show comment
Hide comment
@sjsupersumit

sjsupersumit Feb 13, 2018

Thanks. This helped.

sjsupersumit commented Feb 13, 2018

Thanks. This helped.

@timbuckley

This comment has been minimized.

Show comment
Hide comment
@timbuckley

timbuckley commented Feb 18, 2018

Thank you!

@movefast

This comment has been minimized.

Show comment
Hide comment
@movefast

movefast Feb 18, 2018

Thank you!

movefast commented Feb 18, 2018

Thank you!

@sharik709

This comment has been minimized.

Show comment
Hide comment
@sharik709

sharik709 commented Feb 21, 2018

Thanks

@joelturnbull

This comment has been minimized.

Show comment
Hide comment
@joelturnbull

joelturnbull commented May 18, 2018

Love you <3

@eunjicious

This comment has been minimized.

Show comment
Hide comment
@eunjicious

eunjicious commented Jul 19, 2018

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment