Hi all,
I am a relatively new user to the mac OS (migrating from Ubuntu), and I am still learning the numerous useful keyboard shortcuts.
I use the terminal a lot. One thing that is driving me crazy is how to move the cursor around on the command line.
Besides the arrow keys, here is what I've learned:
[ctrl]-a (takes you to the beginning of the line)
[ctrl]-e (takes you to the end of the line)
[alt]- (left arrow) or (right arrow) does *not* work to move back by 1 word, as it does for example in this editor window as I type.
To move back or forward by 1 word, I found I have to type:
[esc]-b or [esc]-f
and I have to retype [esc]-b *each time* I move back by 1 word, rather than just holding down the [esc] key and arrowing along by a word at a time.
This seems like such a trivial point, but it can drive a command line user crazy. Is there some simpler way to move around by a word (or more) at a time on the command line? If there is no default way, can a keyboard sequence be set to do this?
Thanks,
steviep
I am a relatively new user to the mac OS (migrating from Ubuntu), and I am still learning the numerous useful keyboard shortcuts.
I use the terminal a lot. One thing that is driving me crazy is how to move the cursor around on the command line.
Besides the arrow keys, here is what I've learned:
[ctrl]-a (takes you to the beginning of the line)
[ctrl]-e (takes you to the end of the line)
[alt]- (left arrow) or (right arrow) does *not* work to move back by 1 word, as it does for example in this editor window as I type.
To move back or forward by 1 word, I found I have to type:
[esc]-b or [esc]-f
and I have to retype [esc]-b *each time* I move back by 1 word, rather than just holding down the [esc] key and arrowing along by a word at a time.
This seems like such a trivial point, but it can drive a command line user crazy. Is there some simpler way to move around by a word (or more) at a time on the command line? If there is no default way, can a keyboard sequence be set to do this?
Thanks,
steviep