Mercurial > dotfiles
diff .chezmoitemplates/config.vim @ 688:6e98364a5a28
chore: convert chezmoi autocmds to lua
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 05 Oct 2022 08:56:58 +0200 |
parents | 0bea9fd463b5 |
children |
line wrap: on
line diff
--- a/.chezmoitemplates/config.vim Sun Oct 02 18:43:18 2022 +0200 +++ b/.chezmoitemplates/config.vim Wed Oct 05 08:56:58 2022 +0200 @@ -127,11 +127,3 @@ " " Vinegar/NetRW autocmd FileType netrw setl bufhidden=delete -" -augroup Chezmoi - autocmd! - autocmd BufWritePost ~/.local/share/chezmoi/* silent !chezmoi apply --source-path % - autocmd BufWritePost ~/.local/share/chezmoi/.chezmoitemplates/init.lua silent !chezmoi apply --source-path ~/.local/share/chezmoi/dot_config/nvim/init.lua.tmpl - autocmd BufWritePost ~/.local/share/chezmoi/.chezmoitemplates/config.vim silent !chezmoi apply --source-path ~/.local/share/chezmoi/dot_config/nvim/plugin/config.vim.tmpl - autocmd BufWritePost ~/.local/share/chezmoi/dot_config/nvim/init.lua source <afile> | PackerCompile -augroup END