add autocmd for c