From 88fbf9e0cb12f5a24d04a36c7c5a70eec5c3d5c2 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 4 Feb 2021 22:38:07 +0100 Subject: [PATCH] chore: set autoload for tex files --- .vim/vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index f97a9e3..396e8f3 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -234,6 +234,10 @@ au BufNewFile,BufRead *.c,*.h,*.cpp \ setlocal tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab autoindent \ textwidth=79 fileformat=unix +au BufNewFile,BufRead *.tex + \ setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab autoindent + \ textwidth=79 fileformat=unix conceallevel=0 + " ------ adv maps ------ " strip trailing whitespace, ss (strip space)