Looking for ALT+LeftArrowKey solution in zsh

后端 未结 10 779
孤街浪徒
孤街浪徒 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:29

    If you're using iTerm in CSI u mode, the bindings for your .zshrc end up being:

    bindkey '^[[1;3D' backward-word
    bindkey '^[[1;3C' forward-word
    

提交回复
热议问题