Created
March 12, 2014 12:42
-
-
Save supershabam/9506177 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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