iTerm 2:如何设置键盘快捷键以跳转到行首/行尾? [英] iTerm 2: How to set keyboard shortcuts to jump to beginning/end of line?
本文介绍了iTerm 2:如何设置键盘快捷键以跳转到行首/行尾?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以看到 Ctrl + left / right 跳转到行的开头/结尾.如何将其更改为 Cmd + 向左/向右箭头?
I can see that Ctrl+left/right jumps to the beginning/end of line. How to change this to Cmd+left/right arrow?
In order to get Alt+left/right arrow working correctly for word jumping follow this article.
推荐答案
在iTerm2中添加以下配置文件快捷键
FOR ACTION SEND
⌘← "SEND HEX CODE" 0x01
⌘→ "SEND HEX CODE" 0x05
⌥← "SEND ESC SEQ" b
⌥→ "SEND ESC SEQ" f
这里是需要的人的视觉
这篇关于iTerm 2:如何设置键盘快捷键以跳转到行首/行尾?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文