summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-06-04 23:25:44 -0500
committerzachir <zachir@librem.one>2024-06-04 23:25:44 -0500
commit4d89bb814c92989db464727934b8863bedd4b2c9 (patch)
tree71881834da30fef238257e16a25e1df811e1eb46 /nvim/init.vim
parent5578f1ca7eb8fcbe449c1fad1ea9a99a3a8c5938 (diff)
Run :make when writing latex file
My latex projects use Makefiles to compile them; this makes that process automatic.
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim2
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