Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.29 KB

README.md

File metadata and controls

70 lines (46 loc) · 1.29 KB

Neovim configuration

Installation

Linux

git clone --recursive git@github.com:Shatur95/neovim-config.git ~/.config/nvim

Windows

git clone --recursive git@github.com:Shatur95/neovim-config.git $env:LOCALAPPDATA/nvim

Plugins

General

call firenvim#install(0) " To enable embedding in browsers via firenvim
call mkdp#util#install() " Markdown preview

Arch Linux

yay -S fzf ripgrep nerd-fonts-source-code-pro xkb-switch

# Install LanguageClient-neovim binary, used for semantic highlighting
cd ~/.local/share/nvim/site/pack/Shatur
./install.sh

Windows

scoop bucket add nerd-fonts
sudo scoop install -g fzf ripgrep SourceCodePro-NF

cd $env:LOCALAPPDATA/nvim-data/site/pack/Shatur
./install.ps1

FZF in scoop comes without Vim plugin, so need to download it manually:

git clone --depth=1 git@github.com:junegunn/fzf.git $env:LOCALAPPDATA/nvim-data/site/pack/Shatur/start/fzf

Updating plugins

Plugins are stored as submodules.

Linux

git -C ~/.local/share/nvim/site/pack/Shatur submodule update --remote

Windows

git -C $env:LOCALAPPDATA/nvim-data/site/pack/Shatur submodule update --remote

Style

I use vint for configuration linting.