iTerm 2: How to set keyboard shortcuts to jump to beginning/end of line?

后端 未结 14 1871
难免孤独
难免孤独 2020-12-02 03:09

I can see that Ctrl+left/right jumps to the beginning/end of line. How to change this to Cmd+left/right arrow

14条回答
  •  情书的邮戳
    2020-12-02 03:40

    For quick reference of anyone who wants to go to the end of line or start of line in iTerm2, the above link http://hackaddict.blogspot.com/2007/07/skip-to-next-or-previous-word-in-iterm.html notes that in iTerm2:

    • Ctrl+A, jumps to the start of the line, while
    • Ctrl+E, jumps to the end of the line.

提交回复
热议问题