How do I install on NeoVim?
The guide shows how to install neovim and move the downloaded file, but nothing about install similar to how it's shown with regular vim. Could someone help me out?
https://github.com/avelino/vim-bootstrap#installation
I checked this out, but vim +PlugInstall +qall does not work for neovim, and neither does vim +PlugInstall +qall.
I've installed neovim,
run mv ~/Downloads/generate.vim $XDG_CONFIG_HOME/nvim/init.vim, but after that I'm unsure how neovim actually installs these plugins, etc.
nvim +PlugInstall +qall
Thanks @avelino, but that does not seem to do anything for me either :/
Always on install a fresh installation of vim on OS X I needs 2 more steps,
- create the
~/.config/nvimfolder and then move the generated vimrc - install the python bind to nvim some plugins don't works without that
pip install neovim
after that, everything works well
Doesn't seem to work for me in neovim. I'm using an Arch and installed NeoVim through pamac.
Any ideas about what I may be missing?
nvim +PlugInstall +qall
Installing Vim-Plug...
Error detected while processing /home/laury/.config/nvim/init.vim:
line 25:
E117: Unknown function: plug#begin
line 30:
E492: Not an editor command: Plug 'scrooloose/nerdtree'
line 31:
E492: Not an editor command: Plug 'jistr/vim-nerdtree-tabs'
line 32:
E492: Not an editor command: Plug 'tpope/vim-commentary'
line 33:
E492: Not an editor command: Plug 'tpope/vim-fugitive'
line 34:
E492: Not an editor command: Plug 'ctrlpvim/ctrlp.vim'
line 35:
E492: Not an editor command: Plug 'vim-airline/vim-airline'
line 36:
E492: Not an editor command: Plug 'vim-airline/vim-airline-themes'
line 37:
E492: Not an editor command: Plug 'airblade/vim-gitgutter'
line 38:
E492: Not an editor command: Plug 'sheerun/vim-polyglot'
line 39:
E492: Not an editor command: Plug 'vim-scripts/grep.vim'
line 40:
E492: Not an editor command: Plug 'vim-scripts/CSApprox'
line 41:
E492: Not an editor command: Plug 'bronson/vim-trailing-whitespace'
line 42:
E492: Not an editor command: Plug 'Raimondi/delimitMate'
line 43:
E492: Not an editor command: Plug 'majutsushi/tagbar'
line 44:
E492: Not an editor command: Plug 'scrooloose/syntastic'
line 45:
E492: Not an editor command: Plug 'Yggdroot/indentLine'
line 46:
E492: Not an editor command: Plug 'avelino/vim-bootstrap-updater'
line 52:
E492: Not an editor command: Plug 'Shougo/vimproc.vim', {'do': g:make}
line 55:
E492: Not an editor command: Plug 'xolox/vim-misc'
line 56:
E492: Not an editor command: Plug 'xolox/vim-session'
line 59:
E492: Not an editor command: Plug 'Shougo/vimshell.vim'
line 64:
E492: Not an editor command: Plug 'SirVer/ultisnips'
line 68:
E492: Not an editor command: Plug 'honza/vim-snippets'
line 71:
E492: Not an editor command: Plug 'tomasr/molokai'
line 79:
E117: Unknown function: plug#end
Press ENTER or type command to continue
Same problem with ubuntu/KDE neon.
apt install neovim ✔️
pip install neovim ✔️
mv generate.vim ~/.config/nvim/init.vim ✔️
nvim +PlugInstall +qall ✖️
Installing Vim-Plug
Error detected....
Won't bother pasting entire error since it's practically identical to above poster except with some different plugins...
@tofagerl
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
sudo apt install neovim
pip install --user --upgrade neovim
mv generate.vim ~/.config/nvim/init.vim
nvim +PlugInstall +qall
Tested in ubuntu 16.04. If error persist, please paste here the complete error.
Yeah, that's exactly what I did.
Installing Vim-Plug...
Error detected while processing /home/tomfa/.config/nvim/init.vim:
line 23:
E117: Unknown function: plug#begin
line 28:
E492: Not an editor command: Plug 'scrooloose/nerdtree'
line 29:
E492: Not an editor command: Plug 'jistr/vim-nerdtree-tabs'
line 30:
E492: Not an editor command: Plug 'tpope/vim-commentary'
line 31:
E492: Not an editor command: Plug 'tpope/vim-fugitive'
line 32:
E492: Not an editor command: Plug 'ctrlpvim/ctrlp.vim'
line 33:
E492: Not an editor command: Plug 'vim-airline/vim-airline'
line 34:
E492: Not an editor command: Plug 'vim-airline/vim-airline-themes'
line 35:
E492: Not an editor command: Plug 'airblade/vim-gitgutter'
line 36:
E492: Not an editor command: Plug 'sheerun/vim-polyglot'
line 37:
E492: Not an editor command: Plug 'vim-scripts/grep.vim'
line 38:
E492: Not an editor command: Plug 'vim-scripts/CSApprox'
line 39:
E492: Not an editor command: Plug 'bronson/vim-trailing-whitespace'
line 40:
E492: Not an editor command: Plug 'Raimondi/delimitMate'
line 41:
E492: Not an editor command: Plug 'majutsushi/tagbar'
line 42:
E492: Not an editor command: Plug 'scrooloose/syntastic'
line 43:
E492: Not an editor command: Plug 'Yggdroot/indentLine'
line 44:
E492: Not an editor command: Plug 'avelino/vim-bootstrap-updater'
line 50:
E492: Not an editor command: Plug 'Shougo/vimproc.vim', {'do': g:make}
line 53:
E492: Not an editor command: Plug 'xolox/vim-misc'
line 54:
E492: Not an editor command: Plug 'xolox/vim-session'
line 57:
E492: Not an editor command: Plug 'Shougo/vimshell.vim'
line 62:
E492: Not an editor command: Plug 'SirVer/ultisnips'
line 66:
E492: Not an editor command: Plug 'honza/vim-snippets'
line 69:
E492: Not an editor command: Plug 'tomasr/molokai'
Error detected while processing /home/tomfa/.vimrc.local.bundles:
line 1:
E492: Not an editor command: NeoBundle 'altercation/vim-colors-solarized'
line 2:
E492: Not an editor command: NeoBundle 'luochen1990/rainbow'
line 3:
E492: Not an editor command: NeoBundle 'terryma/vim-multiple-cursors'
line 4:
E492: Not an editor command: NeoBundle 'mrtazz/simplenote.vim'
line 5:
E492: Not an editor command: NeoBundle 'tpope/vim-unimpaired'
line 6:
E492: Not an editor command: NeoBundle 'gertjanreynaert/cobalt2-vim-theme'
Error detected while processing /home/tomfa/.config/nvim/init.vim:
line 83:
E117: Unknown function: plug#end
Error detected while processing /home/tomfa/.vimrc.local:
line 14:
E185: Cannot find color scheme 'cobalt2'
Installing Vim-Plug...
Error detected while processing /home/tomfa/.config/nvim/init.vim:
line 493:
E117: Unknown function: plug#begin
line 498:
E492: Not an editor command: Plug 'scrooloose/nerdtree'
line 499:
E492: Not an editor command: Plug 'jistr/vim-nerdtree-tabs'
line 500:
E492: Not an editor command: Plug 'tpope/vim-commentary'
line 501:
E492: Not an editor command: Plug 'tpope/vim-fugitive'
line 502:
E492: Not an editor command: Plug 'ctrlpvim/ctrlp.vim'
line 503:
E492: Not an editor command: Plug 'vim-airline/vim-airline'
line 504:
E492: Not an editor command: Plug 'vim-airline/vim-airline-themes'
line 505:
E492: Not an editor command: Plug 'airblade/vim-gitgutter'
line 506:
E492: Not an editor command: Plug 'sheerun/vim-polyglot'
line 507:
E492: Not an editor command: Plug 'vim-scripts/grep.vim'
line 508:
E492: Not an editor command: Plug 'vim-scripts/CSApprox'
line 509:
E492: Not an editor command: Plug 'bronson/vim-trailing-whitespace'
line 510:
E492: Not an editor command: Plug 'Raimondi/delimitMate'
line 511:
E492: Not an editor command: Plug 'majutsushi/tagbar'
line 512:
E492: Not an editor command: Plug 'scrooloose/syntastic'
line 513:
E492: Not an editor command: Plug 'Yggdroot/indentLine'
line 514:
E492: Not an editor command: Plug 'avelino/vim-bootstrap-updater'
line 520:
E492: Not an editor command: Plug 'Shougo/vimproc.vim', {'do': g:make}
line 523:
E492: Not an editor command: Plug 'xolox/vim-misc'
line 524:
E492: Not an editor command: Plug 'xolox/vim-session'
line 527:
E492: Not an editor command: Plug 'Shougo/vimshell.vim'
line 532:
E492: Not an editor command: Plug 'SirVer/ultisnips'
line 536:
E492: Not an editor command: Plug 'honza/vim-snippets'
line 539:
E492: Not an editor command: Plug 'tomasr/molokai'
line 546:
E492: Not an editor command: Plug 'vim-scripts/c.vim'
line 551:
E492: Not an editor command: Plug 'fatih/vim-go', {'do': ':GoInstallBinaries'}
line 556:
E492: Not an editor command: Plug 'amirh/HTML-AutoCloseTag'
line 557:
E492: Not an editor command: Plug 'hail2u/vim-css3-syntax'
line 558:
E492: Not an editor command: Plug 'gorodinskiy/vim-coloresque'
line 559:
E492: Not an editor command: Plug 'tpope/vim-haml'
line 560:
E492: Not an editor command: Plug 'mattn/emmet-vim'
line 565:
E492: Not an editor command: Plug 'jelera/vim-javascript-syntax'
line 570:
E492: Not an editor command: Plug 'davidhalter/jedi-vim'
line 574:
E492: Not an editor command: Plug 'tpope/vim-rails'
line 575:
E492: Not an editor command: Plug 'tpope/vim-rake'
line 576:
E492: Not an editor command: Plug 'tpope/vim-projectionist'
line 577:
E492: Not an editor command: Plug 'thoughtbot/vim-rspec'
line 578:
E492: Not an editor command: Plug 'ecomba/vim-ruby-refactoring'
line 589:
E117: Unknown function: plug#end
Press ENTER or type command to continue
Is your ~/.config/nvim empty?
@laurybueno, @tofagerl, you have the "plug.vim" file on ~/.config/nvim/autoload? If no, then it doesn't have vim-plug installed, you can install it for Neovim by typing:
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Maybe you grabbed the generate.vim for the Vanilla Vim(which installs vim-plug on ~/.config/vim) and when you dropped it on the nvim folder it didn't find vim-plug on the ~/.config/nvim/ folder.
@laurybueno @tofagerl Verify if your generated vim file is using neovim as editor.
I found this lines on another issue on github that has the same problem. The solution was something like:
mv .vimrc .vimrc.backup
rm -rf .vim
And then generate another .vimrc file and save on your folder!
@stuartweir @laurybueno @tofagerl Errors persists?
Honestly, I don't remember. It certainly hasn't popped up on new machines I set up.
I found this lines on another issue on github that has the same problem. The solution was something like:
mv .vimrc .vimrc.backup rm -rf .vimAnd then generate another .vimrc file and save on your folder!
This worked seems you shouldn't have vim and neovim installed at the same time to make this work.