Many of the special Readline constructs allow the user to edit
the command line in various ways. For instance, certain keystrokes
allow moving forward a word. A word is defined to be what bash
itself defines it to be.
Is it possible to set bash parameter(s) so that Readline defines
a word to be something different other than what bash
normally defines it to be? Say, any sequence of non-whitespace characters?
Best Answer
As far as I know, the definition what is a word depends on the current locale settings.
The readline man page (bash uses readline for input handling) says: