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

后端 未结 14 1803
难免孤独
难免孤独 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:57

    As Explains in here, you can do it with a simple steps:

    By default, word jumps (option + → or ←) and word deletions (option + backspace) do not work. To enable these, go to "iTerm → Preferences → Profiles → Keys → Load Preset... → Natural Text Editing → Boom! Head explodes"

提交回复
热议问题