Vim is a powerful open-source text editor that has been developed since the 1990s. Designed as a command-line editor, it offers highly customizable and personalizable features.
NeoVim is a more modern version inspired by Vim, featuring better internal APIs and improved window management, making it a powerful tool for developers.
Vim is pre-installed on many Linux distributions such as Parch. To install the latest version, you can run the following command:
sudo pacman -S vim
NeoVim is a more modern editor that can be easily installed with the following command:
sudo pacman -S neovim
Neovim is installed under the name
neovim
but it can be run usingnvim
.
NeoVim alone does not have all the tools necessary for developers, so by using available plugins, it can be transformed into an environment similar to existing IDEs. There are two main approaches for this.
For users who want to quickly set up a powerful development environment, using pre-configured setups is the best option. Some of the most popular configurations include:
AstroNvim is a beautiful and feature-rich Neovim configuration focused on efficiency and extensibility. To install it, follow the official AstroNvim documentation.
NVChad is a popular Neovim configuration that allows users to easily customize it. To install it, follow the official NVChad documentation.
To turn NeoVim into an IDE, you can install the necessary plugins one by one. This approach is suitable for users who want full control over their settings. For this, you need a plugin manager to manage other plugins. One of the most popular plugin managers is lazy.nvim.
lazy.nvim
Plugin Manager:git clone https://github.com/LazyVim/starter ~/.config/nvim
.git
folder:rm -rf ~/.config/nvim/.git
nvim
command. now you need to install some plugins. Some of the most commonly used plugins include:
nvim-lspconfig
nvim-cmp
project.nvim
nvim-tree.lua
require("lazy").setup({
{
"folke/tokyonight.nvim", -- Theme
lazy = false,
priority = 1000,
config = function()
vim.cmd([[colorscheme tokyonight]])
end,
},
"neovim/nvim-lspconfig", -- LSP
"hrsh7th/nvim-cmp", -- Autocompletion
"nvim-tree/nvim-tree.lua", -- File explorer
"mbbill/undotree", -- Undo history
})
For installation using this method, you can follow the official lazy.nvim documentation.
NeoVide is a GUI for NeoVim that functions like a regular terminal but adds more features to NeoVim.
sudo pacman -S neovide
Most likely, all the IDEs you've worked with before have had an official marketplace for installing plugins, but NeoVim does not have an official marketplace. To find plugins, you can search online for each plugin or browse unofficial resources. Below are some community-made lists of NeoVim plugins: