LazyVim / starter

Starter template for LazyVim
Apache License 2.0
957 stars 764 forks source link

How can I use "LazyVim starter" with dot file manager like Chezmoi? #7

Closed dfdgsdfg closed 1 year ago

dfdgsdfg commented 1 year ago

I cloned every Nvim config introduced from the document.

git clone https://github.com/LazyVim/starter ~/.config/nvim

And I feel... WOW! 👍 👍 👍 💯

At this moment everything is just perfect, but I need some custom things and should manage it.

Any suggestions?

folke commented 1 year ago

I have no idea how Chezmoi works. That's something you need to figure out yourself.

But fyi. you can remove the ~.config/nvim/.git folder. The starter only contains some templates, you can put the files anywhere you want. (git or chezmoi, or whatever)

dfdgsdfg commented 1 year ago

@folke everything is just beautiful! I drop all my own configs. Thanks for your really great work.

By the way, probably some users want to guide how to work with a dot file manager.

So maybe your comment should be in the doc as FAQ.

Cheers!

folke commented 1 year ago

Thanks!

Good point. I will add a not that the .git folder should be removed.

luxus commented 1 year ago

maybe curl it directly, chezmoi supports downloading zips as well curl -L https://github.com///archive/refs/tags/v1.2.3.zip | tar xz