Arrow keys type capital letters instead of moving the cursor

后端 未结 13 1686
失恋的感觉
失恋的感觉 2021-02-01 03:49

I\'ve installed the latest vim using homebrew and also installed mac-vim from the google code homepage. in mac-vim everything works fine. but when I run vim in terminal.app in m

13条回答
  •  北荒
    北荒 (楼主)
    2021-02-01 04:32

    This is usually caused by the wrong $TERM environment variable. Not sure which ones are supported on your system but you can try with "linux" or "vt320":

    export TERM=linux

提交回复
热议问题