Configuration
We do use the XDG standard for the config file location. This location can be set with an environment variable $XDG_CONFIG_HOME
. By default neovim uses nvim
as the config folder.
Neovim support different configurations by using a APPNAME. The installation files are saved in the sub folder with the same name in ~/.local/share/nvim-kickstart/
.
NVIM_APPNAME="nvim-kickstart" nvim
alias kvim='NVIM_APPNAME="nvim-kickstart" nvim'
kvim
cd ~/.config/nvim-kickstart
cd ~/.local/share/nvim-kickstart
First start checking the health of your configuration.
The configuration start in with the init.lua
file (~/.config/nvim-kickstart/init.lua
). More information about the file locations and loading plugins can be found in the deep dive
file locations
cat ~/.config/nvim-kickstart/init.lua # starter file
ll ~/.config/nvim-kickstart/lua/kickstart/plugins/ # kickstart plugin files
ll ~/.config/nvim-kickstart/lua/custom/plugins/ # custom plugins and config files