A customized neovim experience meant to replace the need for a modern IDE.
For a full explainer and cheatsheet, see my blog post Neovim as an IDE Replacement
Clone this repository to ~/.config/
and name the config repo nvim
cd ~/.config/
git clone https://github.com/micah-svenson/neovim-config.git nvim
Install Packer:
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
Open nvim and install plugin config
nvim ~/.config/nvim/lua/micah/packer.lua
Note you may see a bunch of errors. Its getting fixed
# source the packer.lua file
:so # short for :source %
# In normal mode command prompt
:PackerSync
Install dependencies
# Ripgrep is required for project search and grep live search
sudo apt install ripgrep
or
brew install ripgrep
Problem:
- One or more lines show
treesitter/highligher error executing lua
- Specifically occured in packer.lua on the packer include line
Solution:
- Ensure that the vim tree sitter parser is installed:
:TSInstall vim
If you are seeing little boxes where icons should be, you probably aren't using the right font in your terminal or you don't have a nerdfont patched font installed.
If you dont have a font:
- go to nerdfonts.com, download a font you like, install the font according to the os you are on.
- set the font of the terminal you use neovim in to use the patched font.
- voila