News for hackers. Stuff that matters.
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)