How to get to the beginning in irb

F

flexaxis

I am using OSX. I am using terminal and I use irb. After typing
something I need to do p at the front. Now I need to go back to the
beginning of the line and I hit left arrow key and it takes forever.

I have seen people jump straight to the beginning of the line. What's
the shortcut command and where can I get the list?
 
D

darren kirby

quoth the (e-mail address removed):
I am using OSX. I am using terminal and I use irb. After typing
something I need to do p at the front. Now I need to go back to the
beginning of the line and I hit left arrow key and it takes forever.

I have seen people jump straight to the beginning of the line. What's
the shortcut command and where can I get the list?

Not sure of a list but 'home' and 'end' are working for me to get to the
beginning and end of a line respectively.

-d
 
J

Joel VanderWerf

darren said:
quoth the (e-mail address removed):

Not sure of a list but 'home' and 'end' are working for me to get to the
beginning and end of a line respectively.

If those don't work, try Ctl-A and Ctl-E.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,204
Messages
2,571,065
Members
47,672
Latest member
svaraho

Latest Threads

Top