My personal dotfiles, even though I mainly use Windows.
This project contains my personal dotfiles. I try to organise them according to the XDG Base Directory specification.
Configure the XDG Base Directory-related environment variables in the user/home directory, such as:
XDG_DATA_HOMEXDG_CONFIG_HOMEXDG_STATE_HOMEXDG_CACHE_HOME
On Windows, configure the environment variables manually via the Control Panel.
Some automation might possible in the future using xPSDesiredStateConfiguration module.
On Linux, run xdg.sh script at least once.
After setting up environment variables, create the XDG directories:
mkdir -p "$XDG_DATA_HOME"
mkdir -p "$XDG_CONFIG_HOME"
mkdir -p "$XDG_STATE_HOME"
mkdir -p "$XDG_CACHE_HOME"Next, go into the config directory.
Inside, create symbolic links for each directory and put them into XDG_CONFIG_HOME.
For example, the following shell command creates a symbolic link to the nvim configuration directory and places it into XDG_CONFIG_HOME:
cd config
ln -s nvim "$XDG_CONFIG_HOME/nvim"Note: On Windows, use the
New-Item -Type SymbolicLinkcommand to create symbolic link.
Besides dotfiles, this project also contains WinGet Configuration files located in the windows/configurations directory.
- The Lazy Neovim Starter by Frans Johansson, used as a starting point for configuring Neovim.
- Some Neovim configuration options adapted from
kickstart-nvim.
This project is licensed under the MIT license.