💭 Switching Configs in Neovim • Michael Uloth

!https://michaeluloth.com/neovim-switch-configs/

Switching configs in Neovim
How to maintain multiple Neovim configurations and switch between them
Michael Uloth · michaeluloth.com

Switching between nvim configs can be really easy to do since they implemented the NVIM_APPNAME Environment Variable.

NVIM_APPNAME=nvim-lazyvim nvim

Now config will be loaded from ~/.config/nvim-lazyvim

Michael lays out some aliases in the full article.

alias v='nvim' # default Neovim config
alias vz='NVIM_APPNAME=nvim-lazyvim nvim' # LazyVim
alias vc='NVIM_APPNAME=nvim-nvchad nvim' # NvChad
alias vk='NVIM_APPNAME=nvim-kickstart nvim' # Kickstart
alias va='NVIM_APPNAME=nvim-astrovim nvim' # AstroVim
alias vl='NVIM_APPNAME=nvim-lunarvim nvim' # LunarVim

Note

This post is a thought. It’s a short note that I make about someone else’s content online #thoughts

Connections

Related tags and posts connected to this entry.