3

If you type a sentence and hold command then press delete then it'll delete the whole line. What if I want to insert the cursor in the middle of a sentence and forward delete the right of the sentence?

3

Within default macOS apps (e.g. TextEdit) as well as other Apple apps (e.g. Pages) you can use the controlK keyboard shortcut to delete the text between the cursor and the end of the line (or paragraph). However, this isn't supported by default in many 3rd party apps (e.g. MS Word).

However, you can use the optionfndelete keyboard shortcut (in standard keyboards) to delete everything to the right of the cursor up to the next space. This works in many 3rd party apps.

If you have an extended keyboard, then you don't need to use the fn as you have a dedicated forward delete key.

  • That only forward deletes the word to the right of the cursor – Doug Apr 12 '18 at 5:30
  • 1
    That's right, the second keyboard shortcut only deletes everything to the right of the cursor up to the next space. The first keyboard shortcut is what you're really after, but it only works in Apple apps. I'm not sure how many 3rd party apps support the same shortcut. Were you wanting this for a particular app? – Monomeeth Apr 12 '18 at 5:34
  • I use "Fn" "Delete" on my MacBook Pro to do that, but the problem here is that Mac external keyboards (that I have seen) don't usually have one of those "Fn" keys. But if you plug in a PC keyboard the "Delete" key (over the arrow keys) will do this. – Steve Chambers Apr 12 '18 at 14:21

You must log in to answer this question.

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