Consider the following bash prompt, where ^ denotes the prompt location:
svn commit -m very/long/path/to/some/file "[bug 123456] Fix the pixel issue" ^
I'd like to commit a different file with the same message. How can I delete the current word, from cursor location to the next space? Is there also a shortcut for backward deletion, form the cursor to the first space backwards?
Update: ctrl+w erases backwards, but which shortcut erases one word forward?