ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

[vim] E1187: Failed to source defaults.vim Press ENTER or type command to continue

2026/8/6 14:33:32 拓冰建站 浏览量
[vim] E1187: Failed to source defaults.vim Press ENTER or type command to continue

 

root@OpenWrt:~# vim
E1187: Failed to source defaults.vim
Press ENTER or type command to continue

 

很容易解决,直接在home directory中,创建一个.vimrc或者.exrc文件即可

touch ~/.vimrc

或者

touch ~/.exrc

 

来源:https://stackoverflow.com/questions/70838574/vim-error-1187-cannot-source-the-defaults-vim-file-after-installing-vundle#comment139539873_77422559