Arrow keys type capital letters instead of moving the cursor

后端 未结 13 1641
失恋的感觉
失恋的感觉 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:49

    This is what worked for me (based on initial solution from @Phoenix above)

    imap ^[OA kli
    imap ^[OB jli
    imap ^[OC lli
    imap ^[OD hli
    

    for each ^[
    type the sequence press ctrl-v, then ESC

提交回复
热议问题