GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AstroNvim/AstroNvim: AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins

BranchesTags
Open more actions menu

Latest commit

 

History

2,521 Commits
2,521 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
lua/astronvim
lua/astronvim
 
 
.gitignore
.gitignore
 
 
.luarc.json
.luarc.json
 
 
.neoconf.json
.neoconf.json
 
 
.stylua.toml
.stylua.toml
 
 
.styluaignore
.styluaignore
 
 
.typos.toml
.typos.toml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
init.lua
init.lua
 
 
neovim.yml
neovim.yml
 
 
selene.toml
selene.toml
 
 
version.txt
version.txt
 
 

Repository files navigation

AstroNvim

Install · Configure · Community Plugins · Website · Discord



AstroNvim is an aesthetically pleasing and feature-rich neovim config that is extensible and easy to use with a great set of plugins

🌟 Preview

Preview Image

✨ Features

  • Common plugin specifications with AstroCommunity
  • File explorer with Neo-tree
  • Autocompletion with Blink.cmp
  • Git integration with Gitsigns
  • Statusline, Winbar, Bufferline, and Statuscolumn with Heirline
  • Terminal with Toggleterm
  • Fuzzy finding with Snacks Picker
  • Syntax highlighting with Treesitter
  • Formatting and Linting with None-ls
  • Language Server Protocol with Native LSP
  • Debug Adapter Protocol with nvim-dap

⚡ Requirements

  • Nerd Fonts (Optional with manual intervention: See Documentation on customizing icons) [1]
  • Neovim 0.11+ (Not including nightly)
  • Tree-sitter CLI (Note: If not installed, this will be auto-installed with Mason if available)
  • A C compiler in your path (see https://docs.rs/cc/latest/cc/#compile-time-requirements)
  • A clipboard tool is necessary for the integration with the system clipboard (see :help clipboard-tool for supported solutions)
  • Terminal with true color support (for the default theme, otherwise it is dependent on the theme you are using) [2]
  • Optional Requirements:
    • ripgrep - live grep picker search (<leader>fw)
    • lazygit - git ui toggle terminal (<leader>tl or <leader>gg)
    • go DiskUsage() - disk usage toggle terminal (<leader>tu)
    • bottom - process viewer toggle terminal (<leader>tt)
    • Python - python repl toggle terminal (<leader>tp)
    • Node - node repl toggle terminal (<leader>tn)

Note

[1] All downloadable Nerd Fonts contain icons which are used by AstroNvim. Install the Nerd Font of your choice to your system and in your terminal emulator settings, set its font face to that Nerd Font. If you are using AstroNvim on a remote system via SSH, you do not need to install the font on the remote system.

Note

[2] Note when using default theme: For macOS, the default terminal does not have true color support. You will need to use iTerm2, Kitty, WezTerm, or another terminal emulator that has true color support.

🛠️ Installation

AstroNvim is provided as a plugin that can be installed with the lazy.nvim plugin manager and then used to import all of the plugin configurations that AstroNvim provides. To quickly get started it is recommended to start with the official AstroNvim Template which provides a great starting point for a new AstroNvim based configuration.

Linux/Mac OS (Unix)

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

Clone the template repository

git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim
rm -rf ~/.config/nvim/.git
nvim

Windows (Powershell)

Make a backup of your current nvim and nvim-data folder

Rename-Item -Path $env:LOCALAPPDATA\nvim -NewName $env:LOCALAPPDATA\nvim.bak
Rename-Item -Path $env:LOCALAPPDATA\nvim-data -NewName $env:LOCALAPPDATA\nvim-data.bak

Clone the repository

git clone --depth 1 https://github.com/AstroNvim/template $env:LOCALAPPDATA\nvim
Remove-Item $env:LOCALAPPDATA\nvim\.git -Recurse -Force
nvim

Minimal ~/.config/nvim/init.lua

Some users might not want to use an entire template or do any customization. Here is a minimal ~/.config/nvim/init.lua file that simply sets up a base AstroNvim installation:

local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
  -- stylua: ignore
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup { "AstroNvim/AstroNvim", version = "^6", import = "astronvim.plugins" }

📦 Basic Setup

Install LSP

Enter :LspInstall followed by the name of the server you want to install
Example: :LspInstall pyright

Install language parser

Enter :TSInstall followed by the name of the language you want to install
Example: :TSInstall python

Install Debugger

Enter :DapInstall followed by the name of the debugger you want to install
Example: :DapInstall python

Manage plugins

Run :Lazy check to check for plugin updates

Run :Lazy update to apply any pending plugin updates

Run :Lazy clean to remove any disabled or unused plugins

Run :Lazy sync to update and clean plugins

Update AstroNvim Packages

Run :AstroUpdate (<leader>pa) to update both Neovim plugins and Mason packages

🗒️ Links

  • AstroNvim Website
  • AstroNvim Documentation
  • Setup is given for basic editor setup after installation
  • Default Mappings more about the default key bindings
  • Customizing Plugins more about configuring and adding plugins

📹 Videos

There have been some great review videos released by members of the community! Here are a few:

  • Neovim With AstroNvim | Your New Advanced Development Editor (Version: 3, Content By: @Cretezy)
  • Why I'm quitting VIM by Carlos Mafla (Version: 2, Content By: @gigo6000)
  • Astro Vim - All in one Nvim config!! by John McBride (Version: 1, Content By: @jpmcb)

🚀 Contributing

If you plan to contribute, please check the contribution guidelines first.

⭐ Credits

Sincere appreciation to the following repositories, plugin authors and the entire neovim community out there that made the development of AstroNvim possible.

  • Plugins
  • NvChad
  • LunarVim
  • CosmicVim

Lua

About

AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins

AstroNvim.com

Topics

astronvimastrovimhacktoberfestideluaneovimneovim-configneovim-configurationneovim-dotfilesneovim-luaneovim-lua-pluginneovim-pluginneovim-pluginsneovim-setupnvimvim

Resources

Readme
GPL-3.0 license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

14.5k stars

Watchers

59 watching

Forks

944 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.