diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index 9efc39b..5328585 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -154,7 +154,7 @@ augroup configgroup " Run Flake8 on write in python files autocmd BufWritePost *.py call flake8#Flake8() " Run make clean when leaving a LaTeX file if Makefile exists in directory - autocmd VimLeave *.tex ![ -f ./Makefile ] && make clean || echo "No Makefile" + autocmd VimLeave *.tex ![ -f ./Makefile ] && make clean " Toggle relative number and absolute number according to focus and insert autocmd BufEnter,FocusGained,InsertLeave * set relativenumber