用的 plugvim ,.vimrc 配置如下:
call plug#begin('~/.vim/plugged') Plug 'yiouejv/vim-startify' call plug#end()
这样 source ~/.vimrc ,识别不了 括号
转义之后 又识别不了 PlugInstall
Error detected while processing /home/yiouejv/.vimrc: line 1: E107: Missing parentheses: plug#begin('~/.vim/plugged')^M line 2: E492: Not an editor command: Plug 'yiouejv/vim-startify'^M line 3: E107: Missing parentheses: plug#end()^M
