At work we use Macbooks, so I am trying to adapt :)

I am using to many things, one of them is doing Ctrl+Delete in Mac OSX (In IntelliJ IDEA).

What I expect to happen, that works in Windows and on another external keyboard (Mac one!) is that when you press ctrl+delete, the left most word is deleted.

This does not happen on Mac, I could not find any other key combination to do this. I need to functionality to quickly move around my code, please help. My Mac version is 10.12.5

  • Try Ctrl-Fn-Backspace - Delete is Fn-Backspace – Allan Jun 12 '17 at 22:16
  • Not helping, it is still deleting only one character and not the whole word. – Carmageddon Jun 12 '17 at 22:47
  • Besides I only have happen to have Fn function key on the keyboard because it is a Mechanical Keyboard, and the Fn is used to control alternative functions like lighting, and media such as mute etc (which seem to be working, I just tested Fn+F1 and it mutes) – Carmageddon Jun 12 '17 at 22:48

The keyboard shortcut to delete the word to the left of the insertion point is, on a Mac keyboard:

OptionDelete enter image description here enter image description here

On a Windows keyboard use: AltBackspace enter image description here

I use both Windows and macOS on a regular basis and noticed that some keyboard shortcuts that use Control in Windows work with Option in macOS, for example:

Delete the word to the left/right of the insertion point:

  • Windows: ControlBackspace / ControlDelete
  • macOS: OptionDelete / Optiondelete⌦

[On keyboards that don't have delete⌦ (Forward Delete) use FnDelete instead.]

Move the insertion point to the beginning/end of the previous word:

  • Windows: ControlLeft Arrow / ControlRight Arrow
  • macOS: OptionLeft Arrow / OptionRight Arrow

Extend text selection to the beginning/end of the current word:

  • Windows: ShiftControlLeft Arrow / ShiftControlRight Arrow
  • macOS: ShiftOptionLeft Arrow / ShiftOptionRight Arrow

Please refer to https://support.apple.com/en-us/HT201236 for a complete list of keyboard shortcuts (scroll down to the Document shortcuts section for the juicy stuff).

  • Thank you! Alt-Backspace works, strange that it didn't work before.. maybe it started after a restart today. Anyway great solution, very well illustrated! :) – Carmageddon Jun 13 '17 at 22:10
  • I figured out sometimes it stops working after I disconnect the keyboard and everything, go to some meeting, then come back. – Carmageddon Jul 18 '17 at 20:49
  • Side note - when using a Windows keyboard this no longer works in OSX Sierra – PW Kad Aug 8 '17 at 1:38

Shift+Option+Backspace should do it!

  • Don't want to split hairs here, but there is no Backspace key on a Mac keyboard, at least not by that name: Apple calls that key simply "Delete". The Windows Delete key is called "Forward Delete". As for the keyboard shortcut you suggest, the Shift key is not necessary, Option+Delete works too. – jaume Jun 13 '17 at 6:15
  • @jaume - there's a separate backspace key on full sized keyboards, just not on laptops. It's only labelled Delete on the US keyboard. – Tetsujin Jun 13 '17 at 6:38
  • @Tetsujin Thanks for pointing that out, my wok MBP has a German keyboard layout and the key is indeed not labeled Delete (the key has simply an arrow pointing to the left, very similar to the key on a Windows keyboard). My point was that Apple calls that key "Delete" (even if not labeled as such). not "Backspace". Of course, in other languages Apple calls the Delete key differently and there may be some overlapping with the name Windows uses (as it is the case in German). – jaume Jun 13 '17 at 7:18
  • I think I've always called that one Backspace & I have a vague recollection that back in the 90's it actually said that.... this is bearing in mind that my current [Apple full-size] keyboard actually labels the Opt key as Alt... so who knows ;)) I sneaked a picture of the brand new full-size kbd from the Apple Store... they gave up altogether with backspace/delete & both now just have arrows [but Opt is back!] -i.stack.imgur.com/l6LYR.jpg – Tetsujin Jun 13 '17 at 17:34

You must log in to answer this question.

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