set ts=4 sw=4 set ai si " can this be copied from the /etc/vim/vimrc file instead? if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif