this post was submitted on 07 Jul 2023
17 points (100.0% liked)

VIM - Vi IMproved

1050 readers
1 users here now

For Vim enthusiasts and anyone interested in Vim/Neovim!

"VIM is the greatest editor since the stone chisel." - Dr. Jose Unpingco

#HJKL

founded 1 year ago
MODERATORS
 

Does anyone have experience using GNU Stow for managing dot files? I'm especially interested in using it to build a git repo to include my .vimrc file so I can sync it between hosts.

I know I've seen other methods, such as making your home directory a bare git repo, so you can check-in your config files without moving them. There is also the chezmoi golang project.

How do others sync .vimrc between hosts?

you are viewing a single comment's thread
view the rest of the comments
[–] igemnace@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago)

Right! Recursive is implied by -a

Yep. There's a single ./install script in project root that calls install-cfg and install-plugins. I only really need to run it once (first time I set up on a machine), and every time I add a new file. If all I've done is update existing files, a simple git pull will update my dotfiles' content automatically, as everything is symlinked already.