These are kept in sync with my dotfiles. The dotfiles are managed using
chezmoi.
The Neovim configuration here is extracted out for trying it out on other
platforms, without necesarily depending upon the rest of my dotfiles.
Assumes github release link https://github.com/neovim/neovim/releases/download/v0.9.4/nvim.appimage
# download
mkdir -p ~/downloads/neovim/v0.9.4/
cd ~/downloads/neovim/v0.9.4/
curl --fail --location --remote-name https://github.com/neovim/neovim/releases/download/stable/nvim.appimage
# verify
sha256sum nvim.appimage
# compare the sha256 checksum by copying it and CTRL+F on the release page.
# install
chmod +x nvim.appimage
sudo cp nvim.appimage /usr/bin/nvimThe instructions below apply to a linux environment. Using them will not
interfere with an existing Neovim setup. Its uses the builtin Neovim
feature $NVIM_APPNAME
https://neovim.io/doc/user/starting.html#%24NVIM_APPNAME.
ripgrep and fd are installed on the system
~/.local/bin/already exists in user's $PATH- Neovim executable is present at
/usr/bin/nvim(see previous section)
If these assumptions are not met, one can alter the instructions as needed.
Clone this repo at
~/.config/pvimgit clone https://github.com/vvnraman/neovim-config ~/.config/pvimCreate a file
~/.local/bin/pvimand mark it executablemkdir -p ~/.local/bin/ touch ~/.local/bin/pvim chmod +x ~/.local/bin/pvim
Add the following contents to
~/.local/bin/pvim#/usr/bin/env bash NVIM_APPNAME=pvim /usr/bin/nvim $@
Run
pvim