[英]Can't Source vimrc file
I am trying to learn vim right now and I was trying to source vimrc for the first time.我现在正在尝试学习 vim,并且我第一次尝试使用 vimrc。 After editing the file I used the command:编辑文件后,我使用了命令:
:so %
But I got the error:但我得到了错误:
Can't open file /c/Users/Name/.vimrc
I also tried using:我也尝试使用:
:so $HOME/.vimrc
But got the same error.但得到了同样的错误。 How do I source my .vimrc file我如何获取我的 .vimrc 文件
在尝试获取文件之前,您是否保存了文件( :w
)?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.