In iTerm2, if I type /one/two/three/four/five
and now if I want to delete five
and write another string, then how do I delete the word five
?
If I use CTRL + W, it deletes the entire command all the way up to the beginning forward slash.
This exact same functionality is available on the out-of-the-box Terminal using option + BACKSPACE by using option key as meta
key. I am running bash
, but this terminal keyboard combination is not working on iTerm2.