I'd like Readline to consider words separated by dashes as single words, just as Vim does by default.
So for example, if I'm at the end of the line below and I type ctrl-W
cp long-filename-with-dashes
Readline would delete only dashes instead of the whole string until the space.
Is there any way to configure this without breaking other things?