Change Shift+Backspace to be a back-delete rather than a forward-delete
6,850
Ok I'm stupid.
I have DoubleCommand installed, and I, for some reason, enabled the "shift+delete acts as forward delete" command. Apologies.
Related videos on Youtube
Author by
nickf
Javascript nerd. Senior Software Engineer at Google. Ex-SoundClouder.
Updated on September 17, 2022Comments
-
nickf over 1 year
On a Mac, if you hold shift and press the backspace key, it performs a forward-delete (the same as pressing "delete" on a non-Mac keyboard). Is there any way to change this to just be a regular backspace?
-
nickf over 13 yearsJust to be clear, "don't hold shift" isn't really what I'm looking for...
-
Julian over 13 yearsI'm dying of curiosity, why would you want this?
-
nickf over 13 yearswhen programming. Say I'm typing
Entity.DELETED
but I get toEntity.DELTE..
to fix the mistake, you have to release shift and then press it again afterwards. I know it sounds silly, but it's a real PITA when shift-backspace deletes the line-ending and then starts deleting other things you didn't want. -
fideli over 13 yearsWhat keyboard are you using? On my MacBook to get a forward delete I need to hold Fn-delete. That is, typically it is ⌫ but with Fn I get ⌦. Are you saying that ⇧⌫ gets you ⌦?
-
nickf over 13 years@fideli "Are you saying that ⇧⌫ gets you ⌦?" exactly. This happens with my external Windows keyboard, as well as the built-in MacBook keyboard.
-
nickf over 13 years@Daniel: It is US.
-
HikeMike over 13 years@nickf: Does the keyboard viewer (see my answer) also show that Shift turns backspace into delete? Also see my third paragraph, does it happen in all applications or just your editor?
-
nickf over 13 years@Daniel - see my answer below. I'm quite clearly an idiot today. Thanks for your help anyway.
-
-
HikeMike over 13 yearsYou should accept your own answer, so the question doesn't show up as unanswered.