Douglas Alpenstock wrote:It's hit or miss. Any decent text editor or word processor will do smart edits like this.
But Windows Notepad, which I use a lot in my work for clean cut-and-paste operations, is painfully dumb in its editing capabilities. Some comment boards are equally clunky. So as a "power user" it's great to find them here.
Those four shortcuts are literally baked into Windows and have been since the dark ages (I started coding professionally on Win XP and that was how one did things then). Applications, including web apps can override that default behavior, but it has to be done actively. The ctrl+arrow navigation shortcuts have been around since the DOS 5 edit command replaced edlin. All of those things work in Notepad on my PCs today.
ETA: It looks like ctrl+delete doesn't work on the cmd-prompt but the others all do.
ETA2: I just played with my wife's Macbook and it doesn't use the ctrl key for that but has some similar stuff with the option key. Other than the macs, I don't have a Unix machine handy to play with.