Ctags 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!
Apache on Mac:
Mac OS X includes an Apache web server that can be controlled using
root. It’s usually started via
launchd, the corresponding configuration file is
/System/Library/LaunchAgents/org.apache.httpd.plist. If it’s not this Apache running on port 80, it is probably launchd, Apple’s implementation of a daemon manager.
Resize tmux screen:
Ctrl-B then option/alt-up/down