This question already has an answer here:
When I use Ctrl+Left_arrow or Ctrl+Right_arrow in bash, I move backward a "word" and forward a "word" respectively. I belive, this is defined in
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving "\e[1;5C": forward-word "\e[1;5D": backward-word "\e[5C": forward-word "\e[5D": backward-word "\e\e[C": forward-word "\e\e[D": backward-word
Unfortunately, the definition of "word" here is misleading. It considers
/foo/bar as two words.
Is it possible to modify this so that the only word delimiter is space character ? (one or more spaces, or one or more tabs)
/foo/bar/ should be treated as one word
I am using Debian Wheezy