Arrow keys type capital letters instead of moving the cursor

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

    I'm using iTerm2 with spf13-vim, and have same problem today.

    It caused by removing plugin vim-autoclose. This solution fixed it.

    Just add following lines into your .vimrc

    if &term[:4] == "xterm" || &term[:5] == 'screen' || &term[:3] == 'rxvt'
      inoremap  OC 
    endif
    

提交回复
热议问题