美文网首页
解决screen和emacs快捷键冲突的问题

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

作者: 苍白想象力 | 来源:发表于2016-05-21 12:29 被阅读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

    相关文章

      网友评论

          本文标题:解决screen和emacs快捷键冲突的问题

          本文链接:https://www.haomeiwen.com/subject/gjxorttx.html