开发者

GNU Screen: weird keyboard movements in zsh

If I type End in non-screen environment of my zsh console - it will move me to the end of line. But if I do the same in zsh behind screen then it will just upper case following word..

How can I make those movem开发者_Python百科ents behave the same in screen environment too?


In your ~/.screenrc file add one of the following lines:

bindkey "\eOF" end-of-line
bindkey "\e[8~" end-of-line
bindkey "\eOw" end-of-line

depending on what you get when you press Ctrl-v End at a shell prompt. Escape is represented by ^[.

Alternatively, you can try setting TERM while you're in screen to the same thing it is outside screen.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜