- Clone to
~/.config/nvim. - Start Neovim (first start may take some seconds to clone "lazy" and plugins).
This configuration evaluates a COLOR_SCHEME environment variable:
If it is set to 2, a light theme is loaded. In every other case, a dark theme is loaded.
When working on remote systems, you might want to consider forwarding the local environment variable to the remote machine:
In your SSH daemon configuration (e.g. /etc/ssh/sshd_config), add the following line:
AcceptEnv COLOR_SCHEME