您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

26 行
643 B

  1. set nocompatible
  2. set backspace=indent,eol,start
  3. set history=50 " keep 50 lines of command line history
  4. set ruler " show the cursor position all the time
  5. set showcmd " display incomplete commands
  6. set incsearch " do incremental searching
  7. map Q gq
  8. if &t_Co > 2 || has("gui_running")
  9. syntax on
  10. set hlsearch
  11. endif
  12. if has("autocmd")
  13. filetype plugin indent on
  14. augroup vimrcEx
  15. au!
  16. autocmd FileType text setlocal textwidth=78
  17. autocmd BufReadPost *
  18. \ if line("'\"") > 0 && line("'\"") <= line("$") |
  19. \ exe "normal g`\"" |
  20. \ endif
  21. augroup END
  22. else
  23. set autoindent " always set autoindenting on
  24. endif " has("autocmd")