Mercurial > dotfiles
comparison .chezmoitemplates/config.vim @ 472:d2b877b4ef8b
Automatically apply changes to templatefiles
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 03 Oct 2021 10:23:25 +0200 |
parents | 1d2e33dfe0c6 |
children | 5b625df6edf2 |
comparison
equal
deleted
inserted
replaced
471:375e2ea8452f | 472:d2b877b4ef8b |
---|---|
769 endif | 769 endif |
770 | 770 |
771 augroup Chezmoi | 771 augroup Chezmoi |
772 autocmd! | 772 autocmd! |
773 autocmd BufWritePost ~/.local/share/chezmoi/* silent !chezmoi apply --source-path % | 773 autocmd BufWritePost ~/.local/share/chezmoi/* silent !chezmoi apply --source-path % |
774 autocmd BufWritePost ~/.local/share/chezmoi/.chezmoitemplates/init.lua silent !chezmoi apply --source-path ~/.local/share/chezmoi/dot_config/nvim/init.lua.tmpl | |
775 autocmd BufWritePost ~/.local/share/chezmoi/.chezmoitemplates/config.vim silent !chezmoi apply --source-path ~/.local/share/chezmoi/dot_config/nvim/plugin/config.vim.tmpl | |
774 autocmd BufWritePost ~/.local/share/chezmoi/dot_config/nvim/init.lua source <afile> | PackerCompile | 776 autocmd BufWritePost ~/.local/share/chezmoi/dot_config/nvim/init.lua source <afile> | PackerCompile |
775 augroup END | 777 augroup END |