Logo

dev-resources.site

for different kinds of informations.

Setting Up Neovim

Published at
1/1/2025
Categories
vim
beginners
tutorial
programming
Author
jhonoryza
Author
9 person written this
jhonoryza
open
Setting Up Neovim

This Original Post is here

Install NeoVim

wget https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
mkdir nvim
mv nvim-linux64.tar.gz nvim
cd nvim
tar -xvf nvim-linux64.tar.gz
sudo ln -s ~/nvim/nvim-linux64/bin/nvim /usr/local/bin/nvim
Enter fullscreen mode Exit fullscreen mode

Make a backup of your current Neovim configuration files:

# Linux / MacOS (Unix)
mv ~/.config/nvim{,.bak}
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}
Enter fullscreen mode Exit fullscreen mode

Using LazyVim

Clone the LazyVim starter repository and open Neovim:

git clone https://github.com/LazyVim/starter ~/.config/nvim && nvim
Enter fullscreen mode Exit fullscreen mode

Remove the .git folder so you can add it to your own repository later:

rm -rf ~/.config/nvim/.git
Enter fullscreen mode Exit fullscreen mode

Full documentation is available here.

Using NvChad

Clone the NvChad starter repository and open Neovim:

git clone https://github.com/NvChad/starter ~/.config/nvim && nvim
Enter fullscreen mode Exit fullscreen mode

The default mappings are defined
here.

Check
configs.md
to ensure your language's LSP server is present there and edit the
configs/lspconfig.lua file to add your language's LSP.

Full documentation is available
here.

Canonical URL
For more detailed information, visit the original post on my blog.

vim Article's
30 articles in total
Favicon
Vim Macros: Automate Repetitive Tasks Instantly
Favicon
Develop a ulauncher extension with a command database
Favicon
vim_notes
Favicon
My text editor setup in 2025 and how I came out of extension hell
Favicon
Mastering Vim and NvChad for Coding and Development: A Comprehensive Guide
Favicon
Vim cheat sheet
Favicon
Setting Up NeoVim + LazyVim on My New Mac Mini M4 💻✨
Favicon
🎉 Welcome to the LazyVim Adventure! 🎉 Part1
Favicon
Mastering VIM: A Complete Beginner's Guide to the Command-Line Editor
Favicon
Explaining Null Device or Black Hole Register in Vim
Favicon
From Vi to NeoVim: A Journey into the Heart of Text Editing
Favicon
Neovim how to ignore directories like node_modules in Telescope
Favicon
How to Create a Markdown Code Block in Vim With a Single Keystroke
Favicon
Setting Up Neovim
Favicon
The Most Interesting Mostly Tech Reads of 2024
Favicon
How to Setup Vim for Kotlin Development
Favicon
Using Vim Navigation (h, j, k, l) as Arrow Keys on Mac with Karabiner-Elements
Favicon
vim
Favicon
How to Modify Multiple Various Matches at Once in Vim
Favicon
On Vim's Modal Nature and the Importance of Tools: The Example of Numbered Registers
Favicon
I’ve been working in IT for what feels like forever. All this time, I’ve been using Vim and just exiting by turning off the terminal. Today, an intern casually showed me :wq... My life will never be the same. 🤦‍♂️
Favicon
Atomic Note-Taking Guide
Favicon
What I've Learned About My Editing Skills
Favicon
Like Vim, but Helix
Favicon
Vim Regex Tricks - Capitalize Every First Letter
Favicon
Configurando Os Temas do Vim no Termux
Favicon
[SOLVED] Vue 3 + TypeScript + Inlay Hint support in NeoVim
Favicon
Vim: Minimalist Environment
Favicon
Configurando o AutoComplete do Vim pelo Termux
Favicon
Migrating from VSCode to Neovim: A Journey of Learning, Confusion, and Triumph! 🚀

Featured ones: