Lazy.nvim: The Blazingly Fast Neovim Package Manager

Michael Bao
Unixification
Published in
5 min readDec 23, 2022

--

Lazy.nvim is a plugin manager create by folke. He creates many Neovim plugins including the popular colorscheme tokyonight. Lazy.nvim is very new (as of December 22, 2022), but the speeds and features are quite amazing. (Sidenote: If you consider using this, I would just back up any dotfiles so it is easy to revert back to if something breaks).

Furthermore, I will be comparing lazy.nvim to packer.nvim as it was the one I use previously and the one I feel like most people use.

Speeds

The following speed tests used dstein64/vim-startuptime.

lazy.nvim

Lazy.nvim (Screenshot by author)

packer.nvim

Packer.nvim (Screenshot by author)

These two screenshots run roughly the same plugins, however, I will mention the screenshot with packer.nvim has significantly less lazy-loading, partially due to the configuration being a bit more cumbersome.

As it can be seen from these two screenshots, Neovim’s startup time with lazy.nvim is more than five times faster than the one with packer.nvim. Continuing, lazy.nvim has many other features, not just speed. Some of my favorite features are:

--

--

Michael Bao
Unixification

Neovim | Arch Linux | macOS | I love to write about random tech stuff. Tinkering around with Linux, Neovim, and computers.