" indent.vim - indentation and tabbing configuration " " enables per-filetype autoindenting if has("autocmd") filetype indent on endif " Read tabs as 8 spaces; insert as 4 spaces set tabstop=8 " display using standard tabstop of 8 set softtabstop=4 " but make it feel like tabstop is 4 set shiftwidth=4 " > and < shift 4 columns set expandtab " and use spaces instead of tabs " Specific indent schemes for certain projects augroup indent au BufRead,BufNewFile */kde-src/*.{cpp,h} set ts=4 noet sw=4 au BufRead,BufNewFile */CDP/* set ts=8 et sw=4 sts=4 au BufRead,BufNewFile */konversation/* set ts=8 et sw=2 sts=2 augroup END