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)