解决screen和emacs快捷键冲突的问题

2016-05-21  本文已影响159人  苍白想象力

Redefining the Command key

Emacs uses ‘C-a’ for ‘beginning-of-line’. It is also the command key for GNU Screen, which causes a problem of “muscle memory impedance matching.”

Suggestions for Command key Redefinition

.screenrc
# ##Control-^ (usually Control-Shift-6) is traditional and the only key not used by emacs
escape ^^^^
# ## do not trash BackSpace, usually DEL
bindkey -k kb
bindkey -d -k kb
# ## do not trash Delete, usually ESC [ 3 ~
bindkey -k kD
bindkey -d -k kD

上一篇 下一篇

猜你喜欢

热点阅读