set number syntax on set tabstop=4 set shiftwidth=4 set expandtab set encoding=utf-8 set nowrap if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif endif