Is there a way to change the definition of the word separators in bash? This will allow me, for example, to do ctrl+w (delete previous word) at the end of this path:
and the effect will be that only "
file" will be deleted, and not the whole path.
edit: to be more clear, word deletion is just one possible usage, but I'm interested in moving between words, etc. Also, I want to be able to configure underlines and other chars as separators, not only slash.