Fix key settings (Home/End/Insert/Delete) in .zshrc when running Zsh in Terminator Terminal Emulator

后端 未结 4 508
独厮守ぢ
独厮守ぢ 2020-12-23 02:31

I\'m running Ubuntu 11.04. I installed the Terminator Terminal Emulator 0.95, and Zsh, version 4.3.15.
I have (commonly known) problems with my keys inside the Zsh. At

4条回答
  •  伪装坚强ぢ
    2020-12-23 02:32

    Thanks to @lolesque, but the solution doesn't work with me. After using zkbd to check my key binding, I came out the below solution. BTW, my $TERM is xterm.

    bindkey  "^[[1~"   beginning-of-line
    bindkey  "^[[4~"   end-of-line
    

    Hope it helps.

提交回复
热议问题