Old version(s) of vim config
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

37 lines
1.1 KiB

14 years ago
14 years ago
14 years ago
  1. filetype off
  2. call pathogen#runtime_append_all_bundles()
  3. call pathogen#helptags()
  4. filetype plugin indent on
  5. syntax enable
  6. " Set defaults [:h Q_op for abbrs]
  7. set nocompatible
  8. set ai et sw=2 ts=2 sts=2 " auto indent, 2 space tabs
  9. set ch=2 so=3 ls=2 " commandline, scrolloff, laststatus
  10. set dir=/var/tmp,/tmp " dir for swapfile
  11. set nofoldenable " turn off folding
  12. set splitbelow splitright " new window placement
  13. set list listchars=tab:»·,trail
  14. set statusline=%<%f\ %h%m%r\ %y\ %{fugitive#statusline()}%=%-16(\ %l,%c-%v\ %)%P
  15. " Enable 256 color xterm support
  16. au VimEnter * if &term == 'xterm' | set t_Co=256 | endif
  17. colorscheme wombat256mod
  18. if has("gui_running")
  19. set guifont=Monospace\ 10
  20. set cursorline
  21. set go=aegitt
  22. set co=115
  23. set lines=40
  24. endif
  25. " Settings for tpope's surround plugin
  26. let g:surround_45 = "<% \r -%>"
  27. let g:surround_61 = "<%= \r %>"
  28. autocmd FileType php let b:surround_45 = "<?php \r ?>"
  29. " Settings for rails plugin
  30. let g:rails_default_file='config/database.yml'
  31. autocmd User Rails silent! Rlcd