vimrc 343 B

1234567891011121314151617
  1. filetype plugin on
  2. set encoding=utf-8
  3. set directory=~/.vim/swp
  4. " last known cursor position
  5. " autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif
  6. " remove trailing whitespace
  7. autocmd BufWritePre * :%s/\s\+$//e
  8. syntax on
  9. set t_co=256
  10. let g:molokai_termcolors=256
  11. colorscheme molokai
  12. set number