Question: How do I better navigate the command line? In TextMate, I can do:

* `CMD` + `ALT` + `ARROW` to switch tabs
* `CMD` + `SHIFT` + `ARROW` to highlight lines of text
* `ALT` + `SHIFT` + `ARROW` to highlight words
* `ALT` + `ARROW` to jump words, etc.

How do I do this kind of stuff in the terminal?

Answer: 
Here's a slightly more complete mapping from Mac text navigation to the default Readline keys:
![iTerm key mapping](https://i.stack.imgur.com/CW8rx.png) 

I set this up in the Keys pane of my [iTerm2](http://www.iterm2.com) preferences, but you should be able to make the same mappings in Terminal.app (Edit: Everything except the first two. Terminal.app only lets you pick from a few different keys)
Some things can be done by editing the readline bindings (see `bind -p` / [man](http://www.faqs.org/docs/bashman/bashref_90.html) [bash](http://www.faqs.org/docs/bashman/bashref_93.html#SEC100)) but for some of the mac keyboard keys you can (or need to?) set extras up in Terminal.app's preferences.

For word navigation try this: 

Terminal preferences -> settings -> keyboard

add the following:

* option cursor left \033b (escape b) (backwards word)
* option cursor right \033f (escape f) (forward word)
* option forward delete \033d (escape d) (kill word)

Word boundaries behave a little differently, but it's better than single character or whole line navigation, and doesn't require trading your option key for a meta key and learning a bunch of new key combos.