Skip to content

Commit fca8b60

Browse files
committed
Update inputrc to work with modern iTerm2
I'm not sure when things changed in iTerm2 or what exactly changed, but as of iTerm2 3.5, I find that I need these mappings in order to get the behavior described in the comments.
1 parent 35a1d84 commit fca8b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inputrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configure option + right arrow to move forward one word in iTerm2
22
# https://www.gnu.org/software/bash/manual/bashref.html#Commands-For-Moving
3-
"\e\e[C": forward-word
3+
"\e[1;3C": forward-word
44

55
# Configure option + left arrow to move backward one word in iTerm2
66
# https://www.gnu.org/software/bash/manual/bashref.html#Commands-For-Moving
7-
"\e\e[D": backward-word
7+
"\e[1;3D": backward-word

0 commit comments

Comments
 (0)