Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (31 sloc) 1.446 kb
""" Ben Bleything's Vim Setup
""" Based on the work of many others. See README.rdoc for credits.
""" Git Hubs:
""" Internet Electronic Mail:
""" F I L E T Y P E O P T I O N S
" use filetype plugins to determine indent settings
filetype plugin indent on
" ruby and yaml files are indented by two
autocmd FileType ruby,rdoc,cucumber,yaml set softtabstop=2 tabstop=2 shiftwidth=2
" Gemfile, Isolate, Vagrantfile and are ruby
autocmd BufNewFile,BufRead Gemfile setfiletype ruby
autocmd BufNewFile,BufRead Isolate setfiletype ruby
autocmd BufNewFile,BufRead Vagrantfile setfiletype ruby
autocmd BufNewFile,BufRead setfiletype ruby
" set up compiler for ruby files
autocmd FileType ruby compiler ruby
" don't show whitespace in help files
autocmd FileType help set nolist
" twiki files
autocmd BufNewFile,BufRead *.twiki set filetype=twiki
" set filetype on config files for vim, mutt, and bash
autocmd BufNewFile,BufRead ~/.vim/* setfiletype vim
autocmd BufNewFile,BufRead ~/.mutt/* setfiletype muttrc
autocmd BufNewFile,BufRead ~/.bash/* setfiletype sh
Jump to Line
Something went wrong with that request. Please try again.