美文网首页
iterm2配置

iterm2配置

作者: manbug | 来源:发表于2019-05-29 10:41 被阅读0次

用惯了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

参考https://segmentfault.com/a/1190000004122657

相关文章

网友评论

      本文标题:iterm2配置

      本文链接:https://www.haomeiwen.com/subject/arjetctx.html