Getting Started with Neovim

Follow these steps to start using Neovim.

Step-by-Step Guide

1. Install Neovim

To start using Neovim, you'll need to install it on your system. Follow the installation instructions for your operating system.

# For Linux/Mac (via Homebrew)
brew install neovim

# For Windows (via Chocolatey)
choco install neovim
 

2. Configure Neovim

Neovim is configured using Lua or Vimscript. You can create a `init.lua` or `init.vim` file in your Neovim configuration directory to customize your editor.

-- Example init.lua configuration
vim.opt.number = true
vim.opt.relativenumber = true
 

3. Learn Basic Commands

Neovim has a variety of modes and commands. Here are a few basics to get you started:

  • :help