打开 iTerm
, 进入 Preferences > Keys
, 点击 +
进行设置.
⌘
+⟵(Delete)
Send Hex Code
0x15
⌘
+←
Send Hex Code
0x01
⌘
+→
Send Hex Code
0x05
⌥
+⟵(Delete)
Send Hex Code
0x1B 0x08
⌥
+fn
+⟵(Delete)
Send Escape Sequence
d
⌥
+←
Send Escape Sequence
b
⌥
+→
Send Escape Sequence
f