Skip to content

Instantly share code, notes, and snippets.

@supershabam
Created March 12, 2014 12:42
Show Gist options
  • Save supershabam/9506177 to your computer and use it in GitHub Desktop.
Save supershabam/9506177 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved
filetype on
filetype off
filetype plugin indent off
set runtimepath+=~/.vim/bundle/vundle/
set runtimepath+=$GOROOT/misc/vim
call vundle#rc()
Bundle 'cakebaker/scss-syntax.vim'
Bundle 'gmarik/vundle'
Bundle 'kchmck/vim-coffee-script'
Bundle 'kien/ctrlp.vim'
Bundle 'pangloss/vim-javascript'
Bundle 'slim-template/vim-slim'
Bundle 'vim-ruby/vim-ruby'
Bundle 'mxw/vim-jsx'
set number
filetype plugin indent on
syntax on
autocmd FileType go autocmd BufWritePre <buffer> Fmt
autocmd Filetype go setlocal ts=2 sts=2 sw=2 noexpandtab
autocmd Filetype ruby setlocal ts=2 sts=2 sw=2 expandtab
autocmd Filetype javascript setlocal ts=2 sts=2 sw=2 expandtab
autocmd Filetype json setlocal ts=2 sts=2 sw=2 expandtab
autocmd Filetype coffee setlocal ts=2 sts=2 sw=2 expandtab
autocmd Filetype scss setlocal ts=2 sts=2 sw=2 expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment