I have the following path :
$ vim /path/to/some/where
If I press Ctrl + w, It removes entire text to first space. The result would be :
$ vim
How do I delete just the word next of last slash with comination keys?
bashkeyboard shortcutsline-editor
I have the following path :
$ vim /path/to/some/where
If I press Ctrl + w, It removes entire text to first space. The result would be :
$ vim
How do I delete just the word next of last slash with comination keys?
Best Answer
Try Alt + Backspace.
From bash documentation: