I recently switched from Chrome to Firefox (OS X version 5.0.1) and I'm surprised to see that Cmd + Delete is not working.

When I hit Cmd + Delete in any editor (as well as Chrome and Safari), the line left of the cursor is deleted. This unfortunately doesn't work on Firefox. Is there a way to enable it?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

You can't use Cmd + Delete. It all depends on what the application implements.

You will find that Ctrl + U does the same thing in Firefox.


FYI, it's the from bash keyboard shortcut for deleting everything before the cursor. It doesn't work in Chrome because Chrome does not implement any of the bash shortcuts in its text input fields.

So basically:

At least that's what I experienced. Most applications however will let you use both.

link|improve this answer
The OS X text editing shortcuts using ⌃, Bash's readline keybindings, emacs keybindings and the shortcuts used by some third party applications like Firefox are all pretty different. ⌃U doesn't do anything by default in OS X, and in Firefox (6.0) it deletes the whole line. – Lri Jul 13 '11 at 12:25
Yeah, it's kind of hard to explain.. and unfortunately very application specific. – slhck Jul 13 '11 at 12:35
feedback

Your Answer

 
or
required, but never shown

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