]> www.ljiriste.work Git - dotfiles.git/commitdiff
Add a Makefile for easier vim setting deployment trunk
authorLukáš Jiřiště <redacted>
Thu, 5 Mar 2026 19:44:01 +0000 (20:44 +0100)
committerLukáš Jiřiště <redacted>
Thu, 5 Mar 2026 19:46:04 +0000 (20:46 +0100)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..0ec457a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+.PHONY: deploy
+
+deploy: ~/.vimrc ~/.vim/autoload/plug.vim
+
+~/.vim/autoload/plug.vim: ~/.vim
+       curl -fLo $@ --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+       vim -c PlugInstall -c q -c q
+
+~/.vimrc: vim/.vimrc
+       cp $< $@
+
+~/.vim: vim/.vim
+       cp -r $< $@