Created
October 4, 2017 19:55
-
-
Save rm--/bd98ffb138c33527c1bab6e68ed5c331 to your computer and use it in GitHub Desktop.
iterm2 jump back and forward
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-backwards-words-in-iterm-2-on-os-x | |
| Here's how you can configure iTerm 2 on OSX to allow you to use ⌥ ← and ⌥→ to do just that. | |
| First you need to set your left ⌥ key to act as an escape character. | |
| Second you need to either locate the current shortcut for ⌥ ← or create a new one, in the Profile Shortcut Keys, with the following settings: | |
| Keyboard Shortcut: ⌥← | |
| Action: Send Escape Sequence | |
| Esc+: b | |
| Third, repeat for the ⌥→ keyboard shortcut with the following settings: | |
| Keyboard Shortcut: ⌥→ | |
| Action: Send Escape Sequence | |
| Esc+: f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment