rstacruz / nvim-starter

Small configuration to get started with Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Also check out the LazyVim starter. It's a starter Neovim config using lazy.nvim as a package manager, which I'd personally prefer over packer. https://github.com/LazyVim/starter

neovim starter config

Simple configuration to get started with with Neovim.

image

image

image

What's included

It does not include some things, but can be integrated as needed (see optional_extras.lua).

Usage

Neovim 0.7 is required. Paste init.lua into ~/.config/nvim/init.lua.

mkdir -p ~/.config/nvim
curl -sL https://raw.githubusercontent.com/rstacruz/nvim-starter/main/init.lua -o ~/.config/nvim/init.lua
# ...or paste init.lua into ~/.config/nvim/init.lua
Want to try it without overriding your config?

To give it a try without overriding your existing Neovim config:

# Using `./nvim` will run Neovim with the nvim-starter config.
# It won't modify your user's Neovim config.
git clone https://github.com/rstacruz/nvim-starter.git
cd nvim-starter
./nvim

Adding languages

Edit init.lua, and enable syntax for them (under nvim-treesitter.configs). Optionally, advanced features can be unlocked by enablieng their language server (under lspconfig).

Goals

  • Provide a template for new Neovim users to start with
  • Keep it in 1 file (init.lua) under 150 lines as much as possible

Also see

About

Small configuration to get started with Neovim

License:MIT License


Languages

Language:Lua 94.2%Language:Shell 5.8%