diff --git a/private_dot_config/nvim/init.vim b/private_dot_config/nvim/init.vim index acb073c..23bb927 100644 --- a/private_dot_config/nvim/init.vim +++ b/private_dot_config/nvim/init.vim @@ -73,6 +73,9 @@ set iskeyword-=# " '#' is an end of word designator set iskeyword-=- " '-' is an end of word designator set cmdheight=2 " Better display for messages + + " apply changes to chezmoi files automatically + autocmd BufWritePost ~/.local/share/chezmoi/* ! chezmoi apply --source-path "%" " } " AutoRestart {