backup neovim

This commit is contained in:
Luis Freixial
2025-07-15 16:15:41 +01:00
parent 602a7eae8b
commit be6a2fab10
22 changed files with 718 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: zsh update-zsh tmux update-tmux
.PHONY: zsh update-zsh tmux update-tmux nvim update-nvim
zsh:
@for file in zsh/.[!.]*; do \
@@ -27,4 +27,14 @@ update-tmux:
@if [ -f "$$HOME/.tmux.conf" ]; then \
cp "$$HOME/.tmux.conf" tmux/.tmux.conf; \
fi
@echo "tmux files updated from home directory"
@echo "tmux files updated from home directory"
nvim:
@mkdir -p "$$HOME/.config/nvim" && \
mv -f neovim/* "$$HOME/.config/nvim/" && \
echo "All files and folders from neovim have been moved to ~/.config/nvim"
update-nvim:
@mkdir -p neovim && \
cp -a "$$HOME/.config/nvim/." neovim/ && \
echo "All files and folders from ~/.config/nvim have been backed up to neovim/"