Beautiful command line - NeoVim

Thu, 10 Oct. 2024     Thomas Bendler     ~ 1 min to read
 

Nvim with LazyVim

Prerequisites

brew install lazygit
brew install ripgrep
brew install fd

Install nvim

brew install nvim

Configure nvim

First, create a backup of your exiting nvim configuration. This is only required if you already have a working nvim configuration:

# required
mv ~/.config/nvim{,.bak}

# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}

Next, clone the LazyVim starter kit into the nvim configuration directory.

mkdir .config/nvim
git clone https://github.com/LazyVim/starter ~/.config/nvim
rm -rf ~/.config/nvim/.git
nvim

AI with Ollama

In the next post I will describe the customizing of the terminal environment before I continue with the installation and customizing of the Neovim application.

Beautiful command line


 

Share on: