[go: up one dir, main page]

Menu

#26 backw/delw to delete more, as much as prevword/nextword would jump

Future
open
nobody
None
5
2020-10-23
2020-10-23
No

In other software (from small ones like bash/readline, mc, all the way to heavy ones like word processors, text input fields of web pages etc.) I'm used to the behavior that Ctrl+Backspace (or whatever it's bound to) deletes exactly as much text as a Ctrl+Left (or whatever key) would jump over. That is, typically, as many non-alphanumeric as possible, followed by as many alphanumeric as possible.

In joe, however, prevword has this behavior, but backw only deletes one of these two kinds, whichever precedes the cursor.

I find this hard to mentally process and slows down my work, because I have to multiply by 2 and press the key this many times (let alone the mental overhead of having to think which kind of software I'm using, whether I need to double or not). For example, in order to delete 5 words, I have to press Ctrl+Backspace 9 or 10 times.

It would be much more intuitive for me if I had to press the key 5 times in order to delete 5 words.

Same for delw too.

Since I haven't seen joe's behavior anywhere else, I'm wondering if this could probably be an unconditional change to joe. Or maybe a config option, up to you. Thanks!

Discussion


Log in to post a comment.