My personal neovim config will no longer receive updates to github, for future updates go here: https://git.parilia.dev/Parilia/nvim
neovim 0.9+
vifm
(Other file managers can be hot swapped in, see the vifm custom terminal in the init. My vifm configs can be found here. You at the very least will need this setting inside the vifmrc: set vicmd=nvim
LazyGit
(If you are going to use git then I highly recommend this.)
mv ~/.config/nvim ~/.config/nvim_backup
git clone https://github.com/Parilia/nvim.git ~/.config/nvim
To add a new config simply rename the nvim folder in the .config, if you are cloning a new one change the name of the nvim folder in the command to what you want it to or use the above command to back up your config as getting a new one will overrite your existing one or may not even download.
# nvim switcher, you can invoke your config using the alias or by typing "nvims" into your shell
# Set an alias for your config [not needed for default nvim]
alias nvchad="NVIM_APPNAME=nvchad nvim"
alias lvim="NVIM_APPNAME=lvim nvim"
# Add config to the items
nvims() {
items=("default" "nvchad" "lvim")
config=$(printf "%s\n" "${items[@]}" | fzf --prompt=" Neovim Config " --height=~50% --layout=reverse --border --exit-0)
if [[ -z $config ]]; then
echo "Nothing selected"
return 0
elif [[ $config == "default" ]]; then
config=""
fi
NVIM_APPNAME=$config nvim $@
}