Linux vi arrow keys broken in insert mode

后端 未结 11 999
[愿得一人]
[愿得一人] 2020-12-02 06:18

My arrow keys don\'t work in vi in insert mode at home, they just each insert a newline and a capital letter, like \'A\'. Is there a way to fix that?

11条回答
  •  旧时难觅i
    2020-12-02 06:25

    vi does not support arrow keys in insert mode. Use vim. Although your vi may just be a link to vim, it may be configured to behave like the "original" vi and thus disables the arrow keys. Just invoke vim directly.

提交回复
热议问题