Skip to content

Managing User Configuration

AstroNvim is installed with the lazy.nvim plugin manager just like any other plugin in Neovim. The template provided in the installation instructions is simply a minimal Neovim configuration with the lazy.nvim plugin manager that adds AstroNvim along with some example code. This makes it easy to back the configuration the configuration to a git repository.

Setting up a user configuration

  1. Use our AstroNvim/template GitHub template to make a new personal user configuration repository. For these steps we will assume your repo is username/astronvim_config

  2. Clone your empty new repository to your ~/.config/nvim folder

    Terminal window
    git clone https://github.com/username/astronvim_config.git ~/.config/nvim

Installing a user configuration

If you have already created your user configuration and have it tracked in a repository, then the process of getting it installed on a new system is very easy!

  1. Clone your repository

    Terminal window
    git clone https://github.com/username/astronvim_config ~/.config/nvim
  2. Initialize AstroNvim

    Terminal window
    nvim --headless -c 'quitall'