From 0fe62521c1238270a0cf2b1c7cd3a78415433916 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 30 Jul 2018 01:22:03 -0400 Subject: texclear greatly improved to prevent bad deletions --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vimrc') 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 -- cgit v1.3.1