Debian/Ubuntu:
Run the following commands:
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim
Arch Linux:
Neovim can be installed from the community repository:
sudo pacman -S neovim
Unix, Linux:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Create config folder and config file:
sudo mkdir ~/.config/nvim
sudo touch ~/.config/nvim/init.vim
sudo chmod 774 ~/.config/nvim/init.vim
For Ubuntu the folder to store all plugins is '~/.config/nvim/plugged'
First, try to install Dracula theme for Neovim:
call plug#begin('~/.config/nvim/plugged')
" onedarkthem less contract
Plug 'dracula/vim',
call plug#end()
" syntax on
colorscheme dracula
Press Esc
key to switch to Normal mode, and then type :w
to overwrite and :so %
to source this file.
Now, type :PlugInstall
to install plugins.
If everything is OK, Next step
Delete all lines in current file, copy all the lines in the init.vim file above there ☝️☝️☝️ to current file
And install again:
Press Esc
key to switch to Normal mode, and then type :w
to overwrite and :so %
to source this file and type :PlugInstall
to install plugins.
The fzf plugin has some dependencies:
- For syntax-highlighted preview, install bat
- If delta is available,
GF?
,Commits
andBCommits
will use it to formatgit diff
output. Ag
requires The Silver Searcher (ag)Rg
requires ripgrep (rg)Tags
andHelptags
require Perl
If Vim-hexokinase error "needs to updating" like that
- Go to directory where Hexokinase in that like ~/.config/nvim/plugged/vim-hexokinase using the
cd
command. - Run command
make hexokinase
. DONE !