| 1 | # as long as in the $ZSH_CUSTOM dir, |
| 2 | # this is loaded automatically |
| 3 | |
| 4 | # alt-left/right: back/forward word |
| 5 | bindkey '\e[1;3C' forward-word |
| 6 | bindkey '\e[1;3D' backward-word |
| 7 | |
| 8 | # cmd+left/right: end/beg. line |
| 9 | # NOTE: in wezterm this requires redirecting |
| 10 | # the string to PTY via wezterm.action.SendString |
| 11 | bindkey '\e[1;9C' end-of-line |
| 12 | bindkey '\e[1;9D' beginning-of-line |