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.

gooooloo commented May 31, 2014

Thanks man. It helps.

@wayneseymour

This comment has been minimized.

wayneseymour commented Jun 10, 2014

This made my night! 👍

@hunterlodge

This comment has been minimized.

hunterlodge commented Jun 15, 2014

great. it also helps me out. Thanks

@jpowell1218

This comment has been minimized.

jpowell1218 commented Oct 4, 2014

Much appreciated.

@HackRanger

This comment has been minimized.

HackRanger commented Oct 16, 2014

Thanks :)

@umangjeet

This comment has been minimized.

umangjeet commented Nov 7, 2014

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

@conorliv

This comment has been minimized.

conorliv commented Mar 12, 2015

Just what I was looking for!

@yuyan2do

This comment has been minimized.

yuyan2do commented Apr 22, 2015

Thanks :)

@balaclark

This comment has been minimized.

balaclark commented Jun 12, 2015

thanks!

@JonShepChen

This comment has been minimized.

JonShepChen commented Jul 6, 2015

Awesome, thanks

@wynnej1983

This comment has been minimized.

wynnej1983 commented Aug 28, 2015

thanks!

@rodlps22

This comment has been minimized.

rodlps22 commented Oct 5, 2015

Thanks man!!! \o/

@tangyanlin

This comment has been minimized.

tangyanlin commented Oct 19, 2015

Thanks :)

@oxpy

This comment has been minimized.

oxpy commented Oct 24, 2015

Thanks!

@sumardi

This comment has been minimized.

sumardi commented Nov 17, 2015

Awesome. Thanks!

@rporrasluc

This comment has been minimized.

rporrasluc commented Dec 3, 2015

This was useful, thanks!

@hbweb

This comment has been minimized.

hbweb commented Dec 17, 2015

Great stuff - appreciated this command

@ghost

This comment has been minimized.

ghost commented Jan 1, 2016

It helps! 👍

@yuqiandoudou

This comment has been minimized.

yuqiandoudou commented Jan 15, 2016

谢谢了

@tonatiuh

This comment has been minimized.

tonatiuh commented Feb 20, 2016

Thanks!

@gccpacman

This comment has been minimized.

gccpacman commented Mar 18, 2016

Works for me, thanks.

@ahcometrue

This comment has been minimized.

ahcometrue commented Mar 25, 2016

Thanks!

@louis-she

This comment has been minimized.

louis-she commented Apr 6, 2016

Thanks!

@ss998

This comment has been minimized.

ss998 commented Apr 8, 2016

That's right, thanks!

@hvenables

This comment has been minimized.

hvenables commented Apr 11, 2016

Thanks

@DmitryDD

This comment has been minimized.

DmitryDD commented Apr 12, 2016

thx!

@David-99

This comment has been minimized.

David-99 commented Apr 18, 2016

Thank you!

@minkikim89

This comment has been minimized.

minkikim89 commented May 1, 2016

Thank you!

@tarlig

This comment has been minimized.

tarlig commented May 1, 2016

Perfect! Thanks!

@vswamy

This comment has been minimized.

vswamy commented May 31, 2016

Awesome..

@calam1

This comment has been minimized.

calam1 commented Sep 13, 2016

Thanks!

@mingrammer

This comment has been minimized.

mingrammer commented Sep 13, 2016

Thanks!

@johnjhpark

This comment has been minimized.

johnjhpark commented Sep 14, 2016

Great help! thanks!

@M-Kepler

This comment has been minimized.

M-Kepler commented Oct 6, 2016

It works ,thank you

@surahmans

This comment has been minimized.

surahmans commented Oct 27, 2016

Thank you! 👍

@bernstein7

This comment has been minimized.

bernstein7 commented Nov 12, 2016

Awesome 👍

@chinmayv

This comment has been minimized.

chinmayv commented Nov 23, 2016

Thanks!

@sub-maxims

This comment has been minimized.

sub-maxims commented Nov 23, 2016

Thanks man! 👍

@lukalopusina

This comment has been minimized.

lukalopusina commented Dec 1, 2016

Thanks!

@fonlang

This comment has been minimized.

fonlang commented Dec 29, 2016

no working in Vim.

@shuizhongyueming

This comment has been minimized.

shuizhongyueming commented Jan 2, 2017

Thanks

@amritendu-mondal

This comment has been minimized.

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.

luyangco commented Feb 10, 2017

Much appreciated, thank you.

@yongbol

This comment has been minimized.

yongbol commented Feb 24, 2017

Thanks, so helpful

@alexismansilla

This comment has been minimized.

alexismansilla commented Mar 8, 2017

Thanks.

@josfaber

This comment has been minimized.

josfaber commented Mar 23, 2017

Top. Thanks!

@commandocamel

This comment has been minimized.

commandocamel commented Apr 9, 2017

🥇

@livingstonese

This comment has been minimized.

livingstonese commented Jun 26, 2017

Thanks

@codercotton

This comment has been minimized.

codercotton commented Jun 28, 2017

Still helping 6 years later, thanks!

@34code

This comment has been minimized.

34code commented Jul 14, 2017

thanks!

@westonplatter

This comment has been minimized.

westonplatter commented Aug 31, 2017

Thank you

@dkeesey

This comment has been minimized.

dkeesey commented Oct 17, 2017

Thank you!

@jason316

This comment has been minimized.

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.

luoxugeng commented Dec 7, 2017

3Q

@EdmundsEcho

This comment has been minimized.

EdmundsEcho commented Dec 18, 2017

Thank you.

@Lazare-42

This comment has been minimized.

Lazare-42 commented Jan 2, 2018

Thank you :)

@mpise

This comment has been minimized.

mpise commented Jan 16, 2018

Thank you.

@acarist

This comment has been minimized.

acarist commented Feb 1, 2018

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

@zehn

This comment has been minimized.

zehn commented Feb 9, 2018

thank you

@sjsupersumit

This comment has been minimized.

sjsupersumit commented Feb 13, 2018

Thanks. This helped.

@timbuckley

This comment has been minimized.

timbuckley commented Feb 18, 2018

Thank you!

@movefast

This comment has been minimized.

movefast commented Feb 18, 2018

Thank you!

@sharik709

This comment has been minimized.

sharik709 commented Feb 21, 2018

Thanks

@joelturnbull

This comment has been minimized.

joelturnbull commented May 18, 2018

Love you <3

@eunjicious

This comment has been minimized.

eunjicious commented Jul 19, 2018

Thanks!!

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