Looking for ALT+LeftArrowKey solution in zsh

后端 未结 10 767
孤街浪徒
孤街浪徒 2021-01-29 18:13

I just recently switched from bash to zsh, however I miss my Alt+LeftArrowKey and Alt+RightArrowKey to go back and forth a word at a

10条回答
  •  孤街浪徒
    2021-01-29 18:35

    On MacOS High Siera 10.13.6 or Mojave 10.14.2 and using iTerm2 with ZSH To move from words I have to put like this:

    bindkey "\e\e[D" backward-word
    bindkey "\e\e[C" forward-word
    

    Another solutions doesn't work fo rme

提交回复
热议问题