Skip to content

manuuurino/nvim-config

Repository files navigation

AstroNvim

NOTE: This is for AstroNvim v4+

My AstroNvim configuration based on the user configuration template.

Preview

Dasboard

Overview

🛠️ Installation

Make a backup of your current astronvim-v4 configuration and shared folder

mv "${XDG_CONFIG_HOME:-${HOME}/.config}/astronvim_v4" "${XDG_CONFIG_HOME:-${HOME}/.config}/astronvim_v4.backup"
mv "${XDG_DATA_HOME:-${HOME}/.local/share}/astronvim_v4" "${XDG_DATA_HOME:-${HOME}/.local/share}/astronvim_v4.backup"

Clone my configuration

git clone --branch astronvim-v4/main https://github.com/manuuurino/nvim-config "${XDG_CONFIG_HOME:-${HOME}/.config}/astronvim_v4"

Installing spells

the spells are already included in the repository

mkdir -p "${XDG_CONFIG_HOME:-${HOME}/.config}/astronvim_v4/spell"
wget -P "${XDG_CONFIG_HOME:-${HOME}/.config}/astronvim_v4/spell" \
  https://ftp.nluug.nl/pub/vim/runtime/spell/en.utf-8.spl \
  https://ftp.nluug.nl/pub/vim/runtime/spell/de.utf-8.spl

choose a mirror

https://www.vim.org/mirrors.php

Try it in a docker container

Not all lsp, formatters and linters are supported in the docker container.

docker run -w /root -it --rm alpine:edge sh -uelic '
  apk add bash git lua nodejs npm lazygit bottom python3 go neovim curl ripgrep alpine-sdk gzip cargo --update
  git clone --branch astronvim-v4/main https://github.com/manuuurino/nvim-config ~/.config/nvim/
  nvim && bash
'

Start Neovim

NVIM_APPNAME=astronvim_v4 nvim