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

后端 未结 14 1879
难免孤独
难免孤独 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 04:02

    Add in iTerm2 the following Profile Shortcut Keys

    FOR  ACTION         SEND
    ⌘←  "SEND HEX CODE"      0x01 
    ⌘→  "SEND HEX CODE"      0x05
    ⌥←  "SEND ESC SEQ"  b
    ⌥→  "SEND ESC SEQ"  f
    

    Here is a visual for those who need it

提交回复
热议问题