This repository contains my personal Neovim config which is based heavily on the 0 to LSP : Neovim RC From Scratch YouTube video from ThePrimeagen.
- Zsh
- Neovim > 0.9.x (need to build from source)
- BurntSushi/ripgrep
- Clone the repo into
~/.config/nvim/
- Ensure the prereqs are installed.
Since the :!
operator in Nvim uses pipes and not a tty, interactive processes
such as entering a password to sign commits don't work. To sign commits using
gpg and a password, a pinentry program needs to be configured on the system.
-
Ensure gpg is installed in WSL2:
sudo apt install gpg gnupg gpg-agent
-
Ensure the gpg-agent plugin is installed in ohmyzsh
-
Install GPG4Win is installed on the Windows side to handle password input.
-
Configure the cache ttls and pinentry-program within
~/.gnupg/gpg-agent.conf
.default-cache-ttl 86400 max-cache-ttl 86400 pinentry-program "/mnt/c/Program Files (x86)/GnuPG/bin/pinentry-basic.exe"
Neovim, this config, and any other prerequisites are automatically installed as part of the ansible-linux-day0 repository.
- Install all the prerequisites.
- Clone this repo to
~/.config/nvim/
- Launch Neovim