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

后端 未结 14 1801
难免孤独
难免孤独 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条回答
  •  -上瘾入骨i
    2020-12-02 03:48

    In iTerm 3.0.12 you can switch to Natural Text Editing preset:

    iTerm → Preferences → Profiles → Keys

    Warning As it is a preset, it can override the keys you have binded before. So it's better to save your current key bindings before applying a preset.

提交回复
热议问题