How to make gvim on Windows behave exactly like linux console vim?

后端 未结 3 1049
失恋的感觉
失恋的感觉 2020-12-23 22:33

I have used Vim extensively on linux console, I am used to it\'s keyboard shortcuts, like Ctrl+V for vertical selection, and many others.

I hav

相关标签:
3条回答
  • 2020-12-23 22:40

    Issue the following commands:

    set compatible
    :mkvimrc!
    

    That will write out a _vimrc that overrules the one in \Program Files\vim

    0 讨论(0)
  • 2020-12-23 22:54

    Edit your .vimrc file so that it contains only the line:

    set compatible
    
    0 讨论(0)
  • 2020-12-23 22:56

    in c:\program files\vim\_vimrc:

    " source $VIMRUNTIME/mswin.vim
    " behave mswin
    

    Comment out these two lines

    0 讨论(0)
提交回复
热议问题