Skip to content

Instantly share code, notes, and snippets.

@nmunson
Created February 1, 2013 14:58
Show Gist options
  • Save nmunson/4691794 to your computer and use it in GitHub Desktop.
Save nmunson/4691794 to your computer and use it in GitHub Desktop.
.vimrc
set autoindent
set expandtab
set smarttab
set number
set hlsearch
set ignorecase
set smartcase
set nowrap
set showmode
set showcmd
set wildmenu
set ruler
set showmatch
syntax enable
syntax on
filetype plugin indent on
au BufNewFile,BufRead *.config set filetype=xml
autocmd Filetype html setlocal ts=2 sts=2 sw=2
autocmd Filetype ruby setlocal ts=2 sts=2 sw=2
autocmd Filetype feature setlocal ts=2 sts=2 sw=2
autocmd Filetype javascript setlocal ts=4 sts=4 sw=4
set backspace=indent,eol,start
colo wombat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment