You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
860 B

  1. set showcmd " show (partial) command in status line
  2. set showmatch " show matching brackets
  3. set incsearch " incremental search
  4. set autowrite " automatically save before commands like :next and :make
  5. set nocompatible " use Vim defaults instead of 100% vi compatibility
  6. set backspace=indent,eol,start " more powerful backspacing
  7. set autoindent " always set autoindenting on
  8. set linebreak " don't wrap words by default
  9. set textwidth=0 " don't wrap lines by default
  10. set ruler " show the cursor position all the time
  11. if filereadable(expand("$VIMRUNTIME/syntax/synload.vim"))
  12. syntax on
  13. endif
  14. if has("syntax") && &term =~ "xterm"
  15. set t_Co=8
  16. if has("terminfo")
  17. set t_Sf=<Esc>[3%p1%dm
  18. set t_Sb=<Esc>[4%p1%dm
  19. else
  20. set t_Sf=<Esc>[3%dm
  21. set t_Sb=<Esc>[4%dm
  22. endif
  23. endif
  24. " Uncomment out for line and/or relative numberig
  25. " set number
  26. " set rnu