Terminal shortcut keys
The standard shell shortcuts (M- = meta = option or esc, C- = control):


M-b and M-f correspond to ⌥← and ⌥→
C-a and C-e correspond to ⌘← and ⌘→


⌥← and ⌥→ are bound to M-b and M-f by default on Lion's Terminal. On 10.6 you'll have to add them manually:



I haven't found any way to reassign ⌘← and ⌘→ in Terminal.