summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-01-20 01:55:34 -0600
committerzachir <zachir@librem.one>2025-01-20 01:55:34 -0600
commit529347c99a6e43f2d24e5d9020ed76abd840da91 (patch)
tree1e124332d5426277c3327faf857f7b0f26363611 /vim/vimrc
parent461c7af7ef31feb1db7e39762011ca0e54242d76 (diff)
Comment out vim latex preview autocmds
This should be done manually, especially as every time you change to a different tab and change back causes another preview window to open.
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 6b64279..cdf9b33 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -207,7 +207,7 @@ autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
" custom augroup {{{
augroup custom
autocmd!
- au BufEnter *.tex :LLPStartPreview
+ "au BufEnter *.tex :LLPStartPreview
au BufEnter *.md :set textwidth=80
au BufEnter *.ms :set textwidth=80
"au BufEnter *.c :colo DevC++
@@ -217,7 +217,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