Ask Different is a question and answer site for power users of Apple hardware and software. 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

I'd simply like to know how to delete an entire line moving forward opposite of deleting an entire line backwards (cmd + delete). I know to delete individual characters moving forwards is fn + delete but what about the deleting the entire line itself?

share|improve this question
Try control+K. (I'm not posting this as an answer because I'm not sure if I added it or it's there by default). – ughoavgfhw Feb 21 '14 at 19:41
That did the trick! Feel free to post this as the correct answer. Thanks! – Carl Edwards Feb 21 '14 at 20:03
up vote 4 down vote accepted

You can use Control ⌃-K to do this. This is one of the many key bindings that OS X borrows from emacs by default. Others include Control ⌃-A to go to the beginning of a line, Control ⌃-E to go to the end of a line, and Control ⌃-D as an alternate forward-delete.

share|improve this answer
Words can't describe just how in those 2 sentences you've made me that much more productive. =) – Carl Edwards Feb 21 '14 at 21:04
Good answer +1 for a complete answer and extra awesome shortcuts! – daviesgeek Feb 21 '14 at 23:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.