Top Neovim plugins for developers in 2022

How to close vim
Introduction

If you code a little bit, you already know some text editors or IDE’s that help you with your daily development, like VsCode, Atom, Sublime Text, Webstorm, Pycharm, IntelliJ IDEA, Visual Studio, etc. They are all excellent at code formatting, syntactical analysis, integrated terminal, testing, plugins manager, and so on.

Introducing Neovim

Neovim is a fork of Vim that is an improved clone of Vi. The original Vi code was written by Bill Joy in 1976.

mind blown

Neovim is aiming to improve the codebase, allowing for easier implementation of APIs, improved user experience, and plugin implementation.

Why is NeoVim a good option for developers?
  • It's open source and free.
  • Blazingly fast.
  • Customizable with a huge ecosystem of plugins.
  • Treesitter and Language Server Protocol (LSP) are supported, but some configuration is required.
  • It is a cross-platform software, it works pretty much everywhere (Linux, Windows, and macOS).
  • Everything you'll ever do in Vim will be done with your keyboard. Say goodbye to your mouse.
  • It runs in your terminal.
  • Low CPU/RAM usage.

The only downside to using Neovim/Vim is that you need to invest a good amount of time learning and configuring it. There is an initial learning curve. But once you pass that time, your productivity increases exponentially.

This blog is not about how awesome Neovim/Vim is. Maybe I will write another blog some other time. So here are the top neovim plugins that every developer needs.

Disclaimer: I am using the Reactjs open source project to showcase different plugins in this post.

  1. Vim Plug

    Vim Plug is a free, open source, very fast and minimalist vim plugin manager.

  2. Nvim LSP Config

    A collection of common configurations for Neovim's built-in language server client.

  3. Nvim Treesitter

    Treesitter aims to provide better syntax highlighting for your code.

    treesitter

    Traditional highlighting (left) vs Treesitter-based highlighting (right).

  4. Telescope

    Telescope is a highly extendable fuzzy finder. You can search your files, search within files, etc. with this plugin.

    telescope

    telescope

    Telescope also allows you to search within git lists.

  5. Nvim Tree

    File Explorer For Neovim Written In Lua.

    nvim tree
  6. Nvim cmp

A completion engine plugin for Neovim written in Lua.

nvim cmp

  1. Editorconfig

    Editor config for Neovim.

    editor

  2. Ale

    You can use Ale with existing linters and fixers like Eslint, Prettier, Black, Rust fmt etc.

    linter

  3. Nightfox theme

    Night mode theme for nvim

    nightfox
  4. Hop

    Hop allows you to jump anywhere in a document with as few keystrokes as possible.

    hop

  5. diffview.nvim

    Single tabpage interface for easily cycling through git diffs

    diffview

  6. Nerdcommenter

    Comment a single or multiple lines with this plugin.

    commenter

  7. Lualine

    A blazing fast and easy to configure Neovim statusline written in Lua.

    lualine

  8. Indent-blank line

    This plugin adds indentation guides to all lines (including empty lines).

    indentline

  9. Barbar

    Barbar is a plugin for managing tabs in your Neovim editor.

    [barbar

I hope that this blog post helped you in setting up your vim workflow.

If you know of any great plugins that I've overlooked, please share them with me on my Twitter page.