Vim settings file on Windows

后端 未结 3 442
一向
一向 2021-01-31 02:45

I can\'t believe I am typing a question for a simple thing like this but here we are. I can\'t for the life of me figure out what the exact name for the settings file is for vim

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 03:26

    On Windows systems, the best way to find the value of $HOME is from within Vim, as follows. These commands are useful to see what directories your Vim is using:

    :version
    :echo expand('~')
    :echo $HOME
    :echo $VIM
    :echo $VIMRUNTIME
    

    Note the system vimrc file and user vimrc file paths displayed by the :version command. The system vimrc file can be created by an administrator to customize Vim for all users. In addition, each user can have his or her own user vimrc.

提交回复
热议问题