set autoindent
set colorcolumn=80
highlight ColorColumn term=NONE ctermbg=0
-autocmd FileType python setlocal tabstop=4 shiftwidth=4 expandtab
-autocmd FileType markdown setlocal tabstop=4 shiftwidth=4 expandtab
-autocmd FileType javascript setlocal tabstop=2 shiftwidth=2 expandtab
-autocmd FileType json setlocal tabstop=2 shiftwidth=2 expandtab
-autocmd FileType html setlocal tabstop=2 shiftwidth=2 expandtab
+autocmd FileType python setlocal softtabstop=4 shiftwidth=4 expandtab
+autocmd FileType markdown setlocal softtabstop=4 shiftwidth=4 expandtab
+autocmd FileType javascript setlocal softtabstop=2 shiftwidth=2 expandtab
+autocmd FileType json setlocal softtabstop=2 shiftwidth=2 expandtab
+autocmd FileType html setlocal softtabstop=2 shiftwidth=2 expandtab
autocmd FileType todo setlocal colorcolumn=0
set cursorline
autocmd FocusGained * setlocal relativenumber
highlight WhiteSpaceBol ctermfg=DarkBlue
highlight WhiteSpaceMol ctermfg=Black
-match WhiteSpaceMol / /
-2match WhiteSpaceBol /\(^ \+\)\|\( \+$\)/
+autocmd BufEnter * match WhiteSpaceMol / /
+autocmd BufEnter * 2match WhiteSpaceBol /\(^ \+\)\|\( \+$\)/
let g:EditorConfig_enable_for_new_buf = 1