diff options
author | zachir <zachir@librem.one> | 2024-06-04 23:25:44 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-06-04 23:25:44 -0500 |
commit | 4d89bb814c92989db464727934b8863bedd4b2c9 (patch) | |
tree | 71881834da30fef238257e16a25e1df811e1eb46 | |
parent | 5578f1ca7eb8fcbe449c1fad1ea9a99a3a8c5938 (diff) |
Run :make when writing latex file
My latex projects use Makefiles to compile them; this makes that process
automatic.
-rw-r--r-- | nvim/init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/init.vim b/nvim/init.vim index 3453b71..42fe34d 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -200,7 +200,7 @@ augroup custom "au BufEnter *.cpp :colo DevC++ "au BufEnter *.hpp :colo DevC++ au BufWritePost init.vim :source % - " au BufWritePost *.tex :make + au BufWritePost *.tex :make au BufWritePost *sxhkdrc* :!pkill -USR1 -x sxhkd au BufWritePost .Xresources :!xrdb ~/.Xresources au BufWritePost .gitignore :!git add .gitignore |