-
From the iTerm2 menu, go to Settings.
-
Select the Profiles tab.
-
Head to the Keys section.
-
This will make common editing shortcuts work as expected.
By default, iTerm2 treats Option+Backspace
differently than Windows Terminal. To make it delete a single word at a time: