autocmd BufEnter,BufNew *.cpp set expandtab ts=4 autocmd BufEnter,BufNew *.qml set expandtab