Looking for ALT+LeftArrowKey solution in zsh

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

    In zsh, you can use the bindkey command to see keyboard shortcuts.

    Use bindkey to explore options that are available without custom keybindings.

    Namely ^[b to move backward a word and ^[f to move forward a word.

提交回复
热议问题