iTerm 快捷键绑定 (MacOS)
23 Jul 2017打开 iTerm
, 进入 Preferences > Keys
, 点击 +
进行设置.
清空整行
- Keys:
⌘
+⟵(Delete)
- Action:
Send Hex Code
0x15
跳至行首
- Keys:
⌘
+←
- Action:
Send Hex Code
0x01
跳至行尾
- Keys:
⌘
+→
- Action:
Send Hex Code
0x05
删除整行
- Keys:
⌥
+⟵(Delete)
- Action:
Send Hex Code
0x1B 0x08
按单词删除
- Keys:
⌥
+fn
+⟵(Delete)
- Action:
Send Escape Sequence
- Esc +
d
- Esc +
向左跳过单词
- Keys:
⌥
+←
- Action:
Send Escape Sequence
- Esc +
b
- Esc +
向右跳过单词
- Keys:
⌥
+→
- Action:
Send Escape Sequence
- Esc +
f
- Esc +