Vim Neovim
Introduction
Vim
Vim, a lightweight text editor, born in January 1992.
Vim is incredibly powerful, it is a modal editor and has both a terminal and graphical session.
Vim is installed on essentially every Unix-related OS, like Linux distros and MacOS(OSX).
Neovim
Neovim, a fork of Vim, is an extensible text editor.
Neovim has many good built-in features, like LSP support, Lua scripting for configuration and many more.
Neovim also has many distros, which can make Neovim similar to an IDE.
Experience
I have been using Vim and Neovim for quite some time.
Neovim is normally better for editing and programming tasks.
Installation
Installation for Vim and/or Neovim is fairly easy. On many distros, the packages are just vim and neovim. More installation guides are on their respective installation pages, vim and neovim.
Then, we will now install a Neovim distro, which is also fairly easy. There are mainly three major distros:
- LazyVim
- Most Modular
- Most Popular
- Most Support
- AstroNvim
- Most Robust
- Most IDE-like
- NvChad
- Fastest
- Most lightweight
There is also Kickstart.nvim, which is like building your own distro.
For now, we are going to install LazyVim.
Make sure that you have git installed.
Clone the starter: git clone https://github.com/LazyVim/starter ~/.config/nvim
And start nvim
If you want more details, visit the lazyvim installation page.
Try It Out
Now that you have installed Neovim and LazyVim, you can start configurating and more!