Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
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
    
If you use library misc-cmds.el then you can use a repeatable version of the command, end-of-line+ (e.g., bind it to C-e). When you repeat it, it goes to the end of the next line, etc. There is also a repeatable version of C-a, beginning-of-line+. – Drew Dec 22 '15 at 16:44

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .