News for hackers. Stuff that matters.
Re:Neovim Pack by bikeshaving on Wednesday September 03, 2025 @08:42PM (#45122090)
I feel like I have to migrate to a new (Neo)Vim package manager about once every 3 or so years. I think my path has been: pathogen -> Vundle -> vim-plug -> lazy.nvim. Hopefully, this the last VIM package manager?
Re:Neovim Pack by trip-zip on Wednesday September 03, 2025 @08:48PM (#45122147)
Plug still gets the job done imo. But I'm also hopeful that since this one is builtin to the language it'll likely be end-game worthy for lots of users. I have tried it out and had a painless experience though I never did anything fancy like lazy offered.
Re:Neovim Pack by 0x457 on Wednesday September 03, 2025 @09:28PM (#45122413)
I started using nixvim. I think I gave up around vim-plug. Trying to maintain reliably working config across multiple machines and OS was a nightmare.
Re:Neovim Pack by colordrops on Wednesday September 03, 2025 @10:49PM (#45122964)
Nixvim is great. I got it configured with a flake and add it to all my machines. Nix lang is really suitable to composing neovim config.
Re:Neovim Pack by 0x457 on Thursday September 04, 2025 @06:38PM (#45133030)
Yup, I have a giant flake that configures all of my home linux and macos machines. Every machine gets more or less the same home-manager configuration applied, nixvim is split into its own flake.
Re:Neovim Pack by schonfinkel on Thursday September 04, 2025 @04:51PM (#45132051)
I've been using the "old school" approach of just leveraging neovim + huge list of `vimPlugins` in my Nix config, makes you about the myriad of package managers for vim/neovim.

Replacing it with nixvim is on my forever growing todo list.

Re:Neovim Pack by jauntywundrkind on Wednesday September 03, 2025 @08:49PM (#45122157)
Lazy.nvim seems pretty triumphant. But yeah a lot of others are also supported by various plugins. Some unity would be nice, abstractly. But man, it's hard to have faith we're going to get as anything good fast and reliable as lazy.nvim. it could happen though!
Re:Neovim Pack by Lio on Thursday September 04, 2025 @04:21AM (#45124939)
Every plugin manager I've used since Pathogen has seemed "triumphant" at the time. I think they've all been reliable enough and everytime I think well this will be the last time I change that.

I currently have a Packer config on one machine and Lazy on another and honestly don't know why I bothered switching to Lazy. What I really crave is simplicity so if NeoVim builds every thing in I think it will be good enough for me.

Re:Neovim Pack by Nilithus on Thursday September 04, 2025 @11:24AM (#45128317)
I switched from packer to lazy after I noticed the maintainer of packer stopped using packer in his neovim config. Also I believe he has now officially marked it as unmaintained and recommends lazy or pckr
Re:Neovim Pack by yoyohello13 on Wednesday September 03, 2025 @09:06PM (#45122272)
Luckily this is the built in, official, blessed one. So it’s likely going to be the most widely supported and available. (Maybe not most feature rich though)
Re:Neovim Pack by sbinnee on Wednesday September 03, 2025 @11:16PM (#45123150)
I have been staying on vim-plug where everyone seems to be moving on to lazy.vim. I was considering a weekend to migrate to lazy.vim sometime. But with this news, I might just have to wait for this plugin manager to drop.
Re:Neovim Pack by f311a on Wednesday September 03, 2025 @09:06PM (#45122269)
New package manager is pretty slow right now, it's like 200ms to load nvim with lazy vim vs 1 sec with Pack.
Re:Neovim Pack by christophilus on Wednesday September 03, 2025 @11:12PM (#45123117)
How many plugins do you have?
Re:Neovim Pack by f311a on Thursday September 04, 2025 @08:14AM (#45126373)
22
Re:Neovim Pack by film42 on Wednesday September 03, 2025 @09:20PM (#45122355)
I think I update Vundle like once every 3 years.
Re:Neovim Pack by naniwaduni on Wednesday September 03, 2025 @10:04PM (#45122674)
I tossed pathogen in favor of git submodules in ~/.vim/pack/*/start/ in 2017 and it's still like that.
Re:Neovim Pack by rand0m4r on Thursday September 04, 2025 @09:20AM (#45126968)
same here - works great and never needed anything else.
Re:Neovim Pack by freedomben on Thursday September 04, 2025 @11:45AM (#45128569)
Same. I love vim and have no plans to leave, but I have no interest in being on the upgrade treadmill when my current system isn't broken. I've also had plugin updates break stuff, and it's a simple rollback in git back to a working state. I'm not sure how hard that is with these various plugin managers, but it's quite simple with git and I don't have to learn yet another tool/way of doing things.
Re:Neovim Pack by rapind on Wednesday September 03, 2025 @09:27PM (#45122403)
I’m literally just using git with vim.
Re:Neovim Pack by gitaarik on Wednesday September 03, 2025 @09:33PM (#45122455)
How do you keep your plugins up to date?
Re:Neovim Pack by bayesianbot on Wednesday September 03, 2025 @09:51PM (#45122573)
Am I the only one who thinks the way plugins are updated in lazy.nvim (and probably others) is a bit insane? It seems to just pull the latest commits. Every time I update, I feel one rogue commit away from someone stealing my keys. It definitely feels like the riskiest thing I do on my system. Or have I misunderstood something?
Re:Neovim Pack by gitaarik on Wednesday September 03, 2025 @11:08PM (#45123083)
So you mean you review all the plugin code before you add it? And when there's an update you review the changes?
Re:Neovim Pack by bayesianbot on Thursday September 04, 2025 @12:06AM (#45123449)
So far I’ve just YOLO'd it. But if I install other software directly from git and the source isn’t fully reliable, I’ll usually at least check recent changes, or have codex take a look through the source, just like I read through PKGBUILDs when installing from AUR. It feels crazy that I then update LazyVim and suddenly pull in 150 new commits, some just minutes old, all with free access to my system.
Re:Neovim Pack by recursivecaveat on Thursday September 04, 2025 @01:13AM (#45123804)
If you manual update infrequently you are leaving a period for other people to get burned and flag issues before you pull the change, even if you don't look into a thing yourself.
Re:Neovim Pack by gitaarik on Thursday September 04, 2025 @04:20AM (#45124932)
With a plugin manager you can also update infrequently
Re:Neovim Pack by ratrocket on Thursday September 04, 2025 @10:27AM (#45127655)
If your update is the simplest version, a "git pull" -- then you're incorporating commits that have not "stewed" long enough for anyone to be burned. You might win the lucky ticket! (Saying this as someone who rarely updates nvim plugins, out of forgetfulness, not principle, and when they are updated I believe it IS a simple "git pull"...)
Re:Neovim Pack by freedomben on Thursday September 04, 2025 @11:48AM (#45128608)
I mostly do, yes. There are exceptions for very mainstream and big plugins, but for the most part I do at least skim the new plugin code before committing it to my dotfiles repo. A nice thing about this ecosystem is for the most part, things don't change that quickly/often, and big refactors are quite rare
Re:Neovim Pack by behnamoh on Thursday September 04, 2025 @01:00AM (#45123745)
Thanks, new fear unlocked for me :')

For me, lazy.nvim doesn't pull the latest commits automatically. I have to <leader>-L and SHIFT-U it. And I don't do it often exactly because if there's an issue with the plugins I hope it's caught by others and addressed before I update mine.

Re:Neovim Pack by sim7c00 on Thursday September 04, 2025 @01:42AM (#45123945)
you are right to be worried about such practices. this is why i avoid these things entirely. its a bit more hastle but a lot less risk. once you have a good config u can just roll with that anyhow. but i guess in the same vein i dont use a lot of plugins.

the nr of times now people have been owned by rogue plugins via editors is rising each day...

Re:Neovim Pack by t_mahmood on Wednesday September 03, 2025 @09:44PM (#45122530)
Don't know about op, I had a script that would go through each plugin folder, check if it was a git folder, and pulled.

Now I use vimplug though

Re:Neovim Pack by porridgeraisin on Thursday September 04, 2025 @05:51AM (#45125447)

  git submodule update
Re:Neovim Pack by t_mahmood on Thursday September 04, 2025 @10:50AM (#45127934)
Hmm, when I set it up, mercury was a thing, so, the script handled both.

And, also, I was young, and that made me feel good :D

Re:Neovim Pack by wffurr on Wednesday September 03, 2025 @10:07PM (#45122698)
I can’t recall the last time I updated a plugin. They are all working just fine.
Re:Neovim Pack by gitaarik on Wednesday September 03, 2025 @11:12PM (#45123118)
I add new language support from time to time. And sometimes I want to update a plugin because of a fix or new feature support.
Re:Neovim Pack by kzrdude on Thursday September 04, 2025 @01:36PM (#45129927)
I needed to update the lot when upgrading from neovim 0.10 to 0.11.x
Re:Neovim Pack by OJFord on Wednesday September 03, 2025 @10:20PM (#45122784)
'using git'
Re:Neovim Pack by dkdcio on Wednesday September 03, 2025 @10:29PM (#45122837)
what’s the issue? you just git clone the repo into the correct directory
Re:Neovim Pack by OJFord on Wednesday September 03, 2025 @11:29PM (#45123222)
There is no issue? I'm answering the question. This is how I do it too.

(There's sort of an issue in that I'd prefer to get it in neovim/lua, but that's not the point here.)

Re:Neovim Pack by dkdcio on Thursday September 04, 2025 @09:25AM (#45127027)
ohhh I misread what you were replying to! my bad
Re:Neovim Pack by gitaarik on Wednesday September 03, 2025 @11:09PM (#45123103)
Yeah and if you have 10 plugins you have to go into each folder and git pull. Then you might want to write a script for that. Or just use a plugin manager ;)
Re:Neovim Pack by dboon on Thursday September 04, 2025 @02:51AM (#45124334)
git submodule update —init
Re:Neovim Pack by gitaarik on Thursday September 04, 2025 @06:33AM (#45125673)
Yeah, I also used submodules first. But removing a git submodule is a bit of a pain. Like 3 or 4 steps or something, which I usually need to look up how to do it again. And if you're experimenting with new plugins, trying them out, installing them and then removing them again, it's a lot easier with a plugin manager.
Re:Neovim Pack by freedomben on Thursday September 04, 2025 @11:51AM (#45128648)
I just wrote a simple bash script that has an array at the top with all the git remotes, and it iterates through them and git pulls (or clones if it doesn't exist yet). Took me like 10 minutes to write ~15 years ago and hasn't needed any changes. I can also trivially add a new entry to the array if I want to add a new plugin, or delete one if I'm not using it anymore. Then I also have a history of everything that changed so I can easily roll back if something breaks (which has happened several times)
Re:Neovim Pack by recursivecaveat on Thursday September 04, 2025 @01:10AM (#45123793)
I recently switched to lazy because I wanted to experiment with some more complex plugins, but the answer is just: I didn't keep them up to date. If you're using basic text-oriented stuff like fzf or surround how often is it going to improve in a meaningful way once it has reached its fully-formed state? If it did get a noticeable update its probably more likely to annoy me by breaking my config or muscle memory than anything.
Re:Neovim Pack by tasuki on Thursday September 04, 2025 @07:18AM (#45125973)
Why would you want to keep your plugins up to date? How do you prevent breakage?

I update my plugins when I want/need to.

Re:Neovim Pack by freedomben on Thursday September 04, 2025 @11:46AM (#45128585)
Exactly. I update if I want a new feature or bug fix, but other than that I love the predictability of knowing nothing has changed, and when it does, exactly what changed. Being able to `git diff` and see what's new is wonderful
Re:Neovim Pack by vasac on Thursday September 04, 2025 @02:59PM (#45130955)
How many plugins do you use? I probably have at least 70–80. Tracking what’s changed would be a job in itself, so I just update all plugins regularly, the same way I update IntelliJ IDEA, Homebrew, or Linux packages. If a package breaks often, then I (and most other people) simply stop using it.
Re:Neovim Pack by tasuki on Friday September 05, 2025 @08:44AM (#45137858)
> I probably have at least 70–80. Tracking what’s changed would be a job in itself, so I just update all plugins regularly

You and me have completely the opposite approach. You install everything you can get your hands on, I regularly prune my unused plugins to avoid bloat. I don't track what's changed: if I'm happy with a 10 year old version of a plugin, I don't see why I should update it.

> If a package breaks often, then I (and most other people) simply stop using it.

Unless there's a specific error message, how do you even know which package is responsible for the breakage? Ie a new visual glitch starts happening out of nowhere.

Re:Neovim Pack by freedomben on Friday September 05, 2025 @03:46PM (#45142824)
I do the same thing. I have maybe 7 or 8 that I use, favoring built in functionality even if it's interior to what a plug-in might offer
Re:Neovim Pack by vasac on Friday September 12, 2025 @07:31PM (#45227912)
> You install everything you can get your hands on

Nah, I install what I find useful - sometimes I know exactly what I want and search for a specific plugin; other times, I just stumble upon something useful. Every now and then, I remove plugins I haven't used in a long time, but since most of them are lazily loaded, it's not like they get in the way.

> Unless there's a specific error message, how do you even know which package is responsible for the breakage?

If I recall correctly, there were one or two plugins I removed because they broke something, and in both cases, it was obvious which one was the culprit.

Re:Neovim Pack by tasuki on Tuesday September 16, 2025 @04:04AM (#45259395)
I have had at least two cases where it wasn't obvious which plugin was introducing the weird behaviour. I turned all plugins off and then gradually turned them on to find out. One of those was vimwiki.
Re:Neovim Pack by Piraty on Thursday September 04, 2025 @07:27AM (#45126052)
git pull. too often i found breake so i inspect git-log message prior to update, git-bisect came in handy once
Re:Neovim Pack by rapind on Thursday September 04, 2025 @09:26AM (#45127039)
I don't really. It's not like I use that many, and they are all sort of "complete". This isn't JS where you need to update and change your libraries every 5 minutes.
Re:Neovim Pack by root_axis on Thursday September 04, 2025 @09:41AM (#45127191)
The same logic applies to js. vim plugins see updates on a weekly basis, you don't have to upgrade anything if what you have works for you.
Re:Neovim Pack by leephillips on Thursday September 04, 2025 @11:40AM (#45128509)
Me too. I don’t understand why people think they need plugin managers. I just git clone the plugin into blah/blah/start and if I feel like updating one I do a git pull.
Re:Neovim Pack by ComputerGuru on Thursday September 04, 2025 @01:24AM (#45123867)
Why? I’ve been using dein since it was released and haven’t needed to switch to anything (though I’ve noticed the momentum shifts quickly between different ones).
Re:Neovim Pack by lawn on Thursday September 04, 2025 @02:02AM (#45124053)
This is the FOMO speaking. You don't have to switch if you don't want to.
Re:Neovim Pack by bravetraveler on Thursday September 04, 2025 @02:30AM (#45124214)
+1. Configured my plugins years ago and have not cared about the mechanism at all. I might even have confused things and landed on two. Whatever. The result is what matters: I have extensions.

In the exceedingly-rare event I do want to add one... overwhelmed with choice. "Have to" is entirely self-imposed

Re:Neovim Pack by Aissen on Thursday September 04, 2025 @03:31AM (#45124598)
Just looked at my (private) dotfiles git history

- pathogen in 2011

- vundle in 2013

- vim-plug in 2017

Haven't moved since, Plug still does the job, even after I moved to neovim in 2021. Will probably move to the new built-in package manager once the dust has settled.

Re:Neovim Pack by motiejus on Thursday September 04, 2025 @07:50AM (#45126225)
in Nix it's the same for as long as I remember, both on NixOS and nix-managed home-manager on MacOS and Linux:

      neovim = {
        enable = true;
        vimAlias = true;
        vimdiffAlias = true;
        defaultEditor = true;
        plugins = [
          pkgs.vimPlugins.fugitive
          pkgs.vimPlugins.fzf-vim
          pkgs.vimPlugins.vim-gh-line
          pkgs.vimPlugins.vim-gutentags
          pkgs.vimPlugins.nvim-lspconfig
          pkgs.pkgs-unstable.vimPlugins.vim-go
          pkgs.pkgs-unstable.vimPlugins.zig-vim
        ];
        extraConfig = builtins.readFile ./vimrc;
        extraLuaConfig = builtins.readFile (pkgs.replaceVars ./dev.lua {
              inherit (pkgs) ripgrep;
            }).outPath;
      }
Re:Neovim Pack by burnt-resistor on Thursday September 04, 2025 @08:05AM (#45126331)
Similar here too. I'm on the lazy.nvim train too because it's componentized, powerful, and scalable. It would take me ages to get all of the stuff going that Just Works™ (pretty much) OOTB. Yes, even Copilot if you're into that sort of kinky code completion sharing with OpenAI/Microsoft everything you type.
Re:Neovim Pack by azemetre on Thursday September 04, 2025 @09:11AM (#45126874)
I recently moved away from lazy.nvim to using vim.pack. You can check out my PR here:

https://github.com/azemetre/dotfiles/pull/61/files

It was worth it to me because I never relied on many features of lazy.nvim. The benefit of the approach linked in the PR is that it also defer's loading packages as well. The only one I initially load is alpha.nvim (a dashboard), everything else gets deferred. This brought down my startup time from around 300ms to sub 100ms.

Re:Neovim Pack by qiine on Thursday September 04, 2025 @12:00PM (#45128741)
Just wanted to say I snatched your autocmd "go to last loc when opening a Buffer"

That's handy!

Re:Neovim Pack by azemetre on Thursday September 04, 2025 @12:23PM (#45128984)
No problem! One of my favorite things about vim is how modular it is and how simple it is to extend it too.
Re:Neovim Pack by theflyinghorse on Thursday September 04, 2025 @12:06PM (#45128808)
You're using an editor that is built to be configurable for people who enjoy endless configuration. This will not be the last config manager. You might as well ask JS community if Nextjs is the last JS framework
Re:Neovim Pack by amelius on Thursday September 04, 2025 @12:08PM (#45128827)
Yeah, this is like asking if "uv" will be the last package manager for Python.