Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

26 lignes
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")