|
|
Bash:Move forward and backward through the prompt?
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
Wondering if there is a way to move backwards and foward between words not just characters in the terminal ?
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status:
Offline
|
|
If your inputrc is set for Emacs mode (which I think might be the default?), then escape-b and escape-f do so.
If you are using Terminal.app and have checked the box 'Use option key as meta key' under the 'Keyboard' section of the Inspector, then option-b and option-f will work.
In general:
http://www.math.uh.edu/~bgb/emacs_keys.html
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Hey, I never knew it did that. Neat. (Yes, it works by default.)
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Junior Member
Join Date: Nov 2001
Location: Seattle
Status:
Offline
|
|
You can also do ctrl-A and ctrl-E to go to the beginning/end of the line. The nice thing about these emacs commands is they work in text fields of any cocoa app!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|