Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Keyboard combo to quickly delete last word or entire line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Keyboard combo to quickly delete last word or entire line
Authored by: karog on Oct 14, '11 08:22:16AM

Actually Cmd-Delete deletes from the current position to the beginning of the line, not the entire line.

Also, Option-FwdDelete deletes one word to the right. And you would think for symmetry that Cmd-FwdDelete would delete from the current position to the end of line but curiously it does not.



[ Reply to This | # ]
Keyboard combo to quickly delete last word or entire line
Authored by: lras on Oct 14, '11 08:40:25AM

Yeah, for delete to the end of the line one can use ctrl-k (same as in Emacs).

Edited on Oct 14, '11 08:40:57AM by lras



[ Reply to This | # ]
Keyboard combo to quickly delete last word or entire line
Authored by: Lri on Oct 14, '11 08:57:36AM

Make ⌘⌦ work like ⌃K:

d=~/Library/KeyBindings/; mkdir -p $d; echo $'{\n\t"@\UF728" = deleteToEndOfParagraph:;\n}' > $d/DefaultKeyBinding.dict
Edited on Oct 14, '11 08:59:09AM by Lri


[ Reply to This | # ]