我使用 tcsh 和 emacs。在 emacs 中,我习惯了 ctrl-left bindkey 将我向左移动一个单词。我想在我的 tcsh 终端上做同样的事情。
我可以做 ctrl-b,但我只是不习惯。
从 bindkey manpath 中我不清楚如何指定 ctrl-left 组合键。
我该怎么做?
我使用 tcsh 和 emacs。在 emacs 中,我习惯了 ctrl-left bindkey 将我向左移动一个单词。我想在我的 tcsh 终端上做同样的事情。
我可以做 ctrl-b,但我只是不习惯。
从 bindkey manpath 中我不清楚如何指定 ctrl-left 组合键。
我该怎么做?
谷歌回答了所有问题(如果你看得够深的话)。
bindkey '^[[1;5D' backward-word # ctrl+left
bindkey '^[[1;5C' forward-word # ctrl+right
来自 Google 的http://lofotenmoose.info/bsd/conf/amd64/tcshrc-root缓存。
这适用于 tcsh 6.13.00