12

I recently started using Alacritty instead of the default Terminal.app on macOS. When using Terminal, I can jump word by word using Option with left and right arrow keys. In Alacritty this key combination is causing ;3D and ;2D to print to the screen instead of the cursor moving.

Is there a way configure Alacritty to jump word by word using Option and arrow keys?

1 Answer 1

29

With tmux and zsh, add these to the alacritty config:

key_bindings:
  ...
  - { key: Right, mods: Alt, chars: "\x1BF" }
  - { key: Left,  mods: Alt, chars: "\x1BB" }
1
  • Thank you! Just remember to remove the other Left and Right shortcuts in case you have other configs
    – Edenshaw
    Sep 19, 2022 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.