Move cursor by word on Mac - cant get Option+arrow working #1094
-
Hi, Am on a Mac and trying to get Wezterm to behave like my existing iTerm2 and Terminal. Both of those allow me to move by word with the left-option + left/right cursor key. If I hit this key combo in Wezterm, I get Any ideas how to do this? I don't have any key bind related stuff in my |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Looking at the Terminal.app preferences: Option left and right are rebound to You use the https://wezfurlong.org/wezterm/config/lua/keyassignment/SendString.html |
Beta Was this translation helpful? Give feedback.
-
Perfect thanks so much for the reply |
Beta Was this translation helpful? Give feedback.
Looking at the Terminal.app preferences:
Option left and right are rebound to
\033b
and\033f
respectively.You use the
SendString
action to rebind keys, and if you look at the docs for SendString, you'll see an example that covers exactly these key bindings:https://wezfurlong.org/wezterm/config/lua/keyassignment/SendString.html