Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.03 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.03 KB

AstroNvim Template

This is a personal configuration used by me.

NOTE: This is for AstroNvim v5+

A template for getting started with AstroNvim

🛠️ Installation

Make a backup of your current nvim and shared folder

mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak

Create a new user repository from this template

Press the "Use this template" button above to create a new repository to store your user configuration.

You can also just clone this repository directly if you do not want to track your user configuration in GitHub.

Clone the repository

git clone https://github.com/<your_user>/<your_repository> ~/.config/nvim

Start Neovim

nvim

Change default compiler while using Clangd

create a .nvim_lspconfig.lua in root directory of the project

return {
  query_driver = "path to compiler"
}