Take the 2-minute tour ×

How do you go to the end of the line in emacs?

share|improve this question

3 Answers 3

up vote 7 down vote accepted

I don't use emacs, but I think it's Control-e.

share|improve this answer
Yes, that worked. thanks –  Zubair Feb 16 '10 at 12:05

The End button works just fine, like always. If you have no such key on your keyboard, the old Emacs standard keybinding is Ctrl-e, and knowing and using that makes it easier for the fingers to remember that Meta-e goes to the end of the current sentence, and Meta-Ctrl-e goes to the end of the current function. But you don’t have to learn those if you don’t want to.

share|improve this answer
Unfortunately the end key on macs doesn't work in emacs –  Zubair Feb 16 '10 at 14:29
@Zubair: It works fine on my iMac; of course the keycap doesn’t say “End”, it says “↘”, and I run Debian GNU/Linux on it, not MacOS. –  Teddy Feb 16 '10 at 15:21

My emacs reference card is never very far away from me.

share|improve this answer
Thanks, I'll keep this handy too –  Zubair Feb 16 '10 at 14:39

Your Answer


