iterm2配置
2019-05-29 本文已影响0人
manbug
用惯了ubuntu再terminal里的各种快捷键,换成了mac后发现居然没有。
1. 光标跳转单词
Preferences -> keys
⌥← / Send Escape Sequence / b
⌥→ / Send Escape Sequence / f
2. 删除单词
⌥delete / Send Hex Codes / 0x17
3. 删除整行
command delete / Send Hex Codes / 0x15
如果按键出现 '[D' 、 '[C'这种情况
Preferences > Profiles > Keys > Load Preset
选择Natural Text Editing