Created
October 30, 2014 05:45
-
-
Save chareice/9ba5ed1a85b66399f5de to your computer and use it in GitHub Desktop.
vimrc
This file contains 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 off " required! | |
set nobackup | |
set nowritebackup | |
" Close bell | |
set vb t_vb= | |
set mouse=a | |
" Style | |
colorscheme desert | |
set number | |
syntax on | |
set incsearch | |
set wildmenu | |
filetype plugin indent on | |
set autoindent | |
" Tab | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set smarttab | |
autocmd FileType make set noexpandtab tabstop=4 shiftwidth=4 | |
autocmd FileType python set tabstop=4 shiftwidth=4 | |
" Filetype | |
autocmd BufRead,BufNewFile *.json set filetype=json | |
autocmd BufRead,BufNewFile *.slim set filetype=slim | |
autocmd BufRead,BufNewFile *.html.erb set filetype=eruby.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment