Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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 at 19:41
    
That did the trick! Feel free to post this as the correct answer. Thanks! –  Carl Edwards Feb 21 at 20:03

1 Answer 1

up vote 3 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 at 21:04
    
Good answer +1 for a complete answer and extra awesome shortcuts! –  daviesgeek Feb 21 at 23:55

Your Answer

 
discard

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.