Open liyinxin opened 4 years ago
Error detected while processing /home/nano/.vimrc: line 109: E117: Unknown function: plug#begin line 111: E492: Not an editor command: Plug 'chxuan/cpp-mode' line 112: E492: Not an editor command: Plug 'chxuan/vim-edit' line 113: E492: Not an editor command: Plug 'chxuan/change-colorscheme' line 114: E492: Not an editor command: Plug 'chxuan/prepare-code' line 115: E492: Not an editor command: Plug 'chxuan/vim-buffer' line 116: E492: Not an editor command: Plug 'chxuan/vimplus-startify' line 117: E492: Not an editor command: Plug 'chxuan/tagbar' line 118: E492: Not an editor command: Plug 'Valloric/YouCompleteMe' line 119: E492: Not an editor command: Plug 'Yggdroot/LeaderF' line 120: E492: Not an editor command: Plug 'mileszs/ack.vim' line 121: E492: Not an editor command: Plug 'easymotion/vim-easymotion' line 122: E492: Not an editor command: Plug 'haya14busa/incsearch.vim' line 123: E492: Not an editor command: Plug 'iamcco/mathjax-support-for-mkdp' line 124: E492: Not an editor command: Plug 'iamcco/markdown-preview.vim' line 125: E492: Not an editor command: Plug 'jiangmiao/auto-pairs' line 126: E492: Not an editor command: Plug 'scrooloose/nerdtree' line 127: E492: Not an editor command: Plug 'tiagofumo/vim-nerdtree-syntax-highlight' line 128: E492: Not an editor command: Plug 'Xuyuanp/nerdtree-git-plugin' line 129: E492: Not an editor command: Plug 'godlygeek/tabular' line 130: E492: Not an editor command: Plug 'tpope/vim-fugitive' line 131: E492: Not an editor command: Plug 'tpope/vim-surround' line 132: E492: Not an editor command: Plug 'tpope/vim-commentary' line 133: E492: Not an editor command: Plug 'tpope/vim-repeat' line 134: E492: Not an editor command: Plug 'tpope/vim-endwise' line 135: E492: Not an editor command: Plug 'octol/vim-cpp-enhanced-highlight' line 136: E492: Not an editor command: Plug 'vim-airline/vim-airline' line 137: E492: Not an editor command: Plug 'vim-airline/vim-airline-themes' line 138: E492: Not an editor command: Plug 'ryanoasis/vim-devicons' line 139: E492: Not an editor command: Plug 'junegunn/vim-slash' line 140: E492: Not an editor command: Plug 'junegunn/gv.vim' line 141: E492: Not an editor command: Plug 'kana/vim-textobj-user' line 142: E492: Not an editor command: Plug 'kana/vim-textobj-indent' line 143: E492: Not an editor command: Plug 'kana/vim-textobj-syntax' line 144: E492: Not an editor command: Plug 'kana/vim-textobj-function' line 145: E492: Not an editor command: Plug 'sgur/vim-textobj-parameter' line 146: E492: Not an editor command: Plug 'Shougo/echodoc.vim' line 147: E492: Not an editor command: Plug 'terryma/vim-smooth-scroll' line 148: E492: Not an editor command: Plug 'rhysd/clever-f.vim' line 149: E492: Not an editor command: Plug 'vim-scripts/indentpython.vim' line 151: E117: Unknown function: plug#end Press ENTER or type command to continue
@liyinxin 你好,看上面的报错应该是网络不好导致下载错误,你可以使用https://gitee.com/chxuan/vimplus
来下载
谢谢作者,使用这个最新的地址解决了问题
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. ./install.sh: line 333: vim: command not found
/_/ / /_ ___ \ \ / / / ` \/ \/ / / / / / \ V / / / / / / / // / / /_/ ( )
_/// // // ,_/_/\/___/
// ...is now installed!
Just enjoy it! p.s. Follow me at https://github.com/chxuan.
It takes 2 minutes.