My personal neovim configuration.
-
Install Neovim AppImage installation recommended
-
Clone the project into the .config directory
-
Put alias for NeoVim in your user shell config file (ex. .bashrc/.zshrc)
export EDITOR="~/squashfs-root/usr/bin/nvim"
alias nvim="~/squashfs-root/usr/bin/nvim"
- Install Rust to compile Ripgrep
# WSL command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Build
cd <path-to-plugin>/ripgrep
cargo build --release
./target/release/rg --version
Install something with Mason by typing <cmd>:Mason</cmd>
- Install correct language (e.g.
npm install typescript
) - Run
<cmd>:TSInstall <language></cmd>
within Neovim (e.g.<cmd>:TSInstall typescript</cmd>
) 2.1. Install language compiler if needed (e.g.sudo apt install build-essential
)
Add the following to your global .gitconfig
:
[core]
editor = "~/squashfs-root/usr/bin/nvim"