Skip to main content

neovim-config-as-plugin-for-easier-updating

#post

neovim config as plugin for easier updating

  • separate repo
  • main init.lua just installs lazy.nvim and then loads your config as a plugin (ideally a local plugin for instant updates)
  • local lazy.nvim plugin for instant reloading when reentering vim
    • no need to update symlinks as you add new files
    • no need to restow (if that’s how you sync your dotfiles to your home folder)
  • fewer files to search through means you find yours faster
  • less of a monstrous dotfiles repo to wade through

Was introduced to the idea here: https://www.mitchellhanberg.com/create-your-own-neovim-distribution/

His config is here: https://github.com/mhanberg/motchvim/tree/main

But this applies to any neovim distribution (you install them as plugins) and many people’s personal configs.