【发布时间】:2014-12-13 06:27:28
【问题描述】:
我正在尝试查找 Ctrl+Backspace 终端键码以使其删除 shell 中的整个单词。
虽然解释了如何使用cat 或od 获取 arrows、Home、Del 和此类键的代码命令:
- Fix key settings (Home/End/Insert/Delete) in .zshrc when running Zsh in Terminator Terminal Emulator
- what is terminal escape sequence for ctrl + arrow (left, right,...) in TERM=linux
或直接在此处给出的代码:https://code.google.com/p/mintty/wiki/Keycodes(^_ 对我不起作用) 我找不到获取 Ctrl+Backpace 代码的方法。
有什么线索吗?谢谢。
【问题讨论】:
-
你使用的是什么操作系统?
-
Linux CentOS 7,使用腻子