[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

 

posted @ 2025-12-02 04:04  profesor  阅读(0)  评论(0)    收藏  举报