Thanks druuna. I checked out the csh manpage (since I'm using csh and not bash) and csh defaults to emacs style navigation (but "bindkey can change the key bindings to vi-style bindings en masse" apparently). Running the bindkey command displays all the possible keystroke combinations, some of which I knew (crtl+a, crtl+e), but a whole host of which I didn't. However, I'm still a little confused because I don't understand the syntax of the shortcuts. For example, the commands I'm looking for are these:
"^[b" -> backward-word
"^[f" -> forward-word
however, I have no idea what ^[f is in terms of keystrokes. I tried ctrl+[+f, and that didn't work. Can anyone clarify for me?
edit: having looked around on google a bit, it seems that ^[ is escape. problem solved :)
edit 2: just in case anyone needs info on the csh shell and setting keybindings for custom shortcuts, I found this page quite useful http://www.sm.luth.se/~alapaa/file_f...pt/ch30_14.htm
I also added this to my ~/.cshrc:
# bindkey functions (ctrl+something = function)
bindkey ^f forward-word
bindkey ^b backward-word
which makes ctrl+f and ctrl+b move one word forwards and one word backwards respectively.