Activation of `.vimrc` file

浪子不回头ぞ 提交于 2019-12-13 22:16:44

问题


I have got a .vimrc file from one of my friends, however, vim ignores it. How can I make vim use .vimrc? Thank you for the answer.


回答1:


Open vim and type ":version" and hit Enter. You will get paths to your vimrc files. Make sure that your vimrc file is not overwritten by another one (with a higher priority). Please refer to Open vimrc file.

EDIT: To see a home directory, type in vim :echo $HOME



来源:https://stackoverflow.com/questions/39419595/activation-of-vimrc-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!