summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-07-30 01:22:03 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-07-30 01:22:03 -0400
commit0fe62521c1238270a0cf2b1c7cd3a78415433916 (patch)
tree4c4aecb654343cd99c52b7795fc67d178b83c531 /.vimrc
parentca3742ad28bff4dc20f1f937c13a708bcfa5691e (diff)
downloadeibhear-0fe62521c1238270a0cf2b1c7cd3a78415433916.tar.gz
eibhear-0fe62521c1238270a0cf2b1c7cd3a78415433916.tar.zst
eibhear-0fe62521c1238270a0cf2b1c7cd3a78415433916.zip
texclear greatly improved to prevent bad deletions
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 0074211..cbe9adf 100644
--- a/.vimrc
+++ b/.vimrc
@@ -113,7 +113,7 @@ let mapleader =" "
autocmd BufWritePost ~/.scripts/folders,~/.scripts/configs !bash ~/.scripts/shortcuts.sh
" Runs a script that cleans out tex build files whenever I close out of a .tex file.
- autocmd VimLeave *.tex !texclear
+ autocmd VimLeave *.tex !texclear %
" Disables automatic commenting on newline:
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o