Vim
Siehe :help c-indenting und :help autocommand
autocmd FileType c,cpp set ts=4 sw=4 et tw=80 fo=tcroq comments=sl:/*,mb:\ *,elx:\ */,:// cindent cino={2,>4,n-2 nu autocmd FileType python set tabstop=4 shiftwidth=4 expandtab
Siehe :help c-indenting und :help autocommand
autocmd FileType c,cpp set ts=4 sw=4 et tw=80 fo=tcroq comments=sl:/*,mb:\ *,elx:\ */,:// cindent cino={2,>4,n-2 nu autocmd FileType python set tabstop=4 shiftwidth=4 expandtab