Created
August 29, 2013 08:16
-
-
Save yoloseem/6375482 to your computer and use it in GitHub Desktop.
My .vimrc file.
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
"vImproved | |
set nocompatible | |
"Syntax Highlighting | |
syntax on | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
filetype plugin indent on | |
"Manage Vundle via Vundle | |
Bundle 'gmarik/vundle' | |
"Wakatime. | |
Bundle 'wakatime/vim-wakatime' | |
"Surround | |
Bundle 'tpope/vim-surround' | |
"Syntastic | |
Bundle 'scrooloose/syntastic' | |
"Softtabs | |
set expandtab | |
set tabstop=4 shiftwidth=4 sts=4 | |
set autoindent | |
"No CRLF | |
set fileformat=unix | |
set backspace=2 | |
"Use mouse | |
set mouse=a | |
"Prefer UTF-8 | |
set encoding=utf-8 fileencodings=ucs-bom,utf-8,cp949,korea,iso-2022-kr | |
"Additional syntax highlighters | |
au! BufRead,BufNewFile *.scss setfiletype scss | |
au! BufRead,BufNewFile *.html setfiletype html | |
"Custom indent convertion by each languages | |
au FileType html setl ts=2 sw=2 sts=2 | |
au FileType scss setl ts=2 sw=2 sts=2 | |
au FileType css setl ts=2 sw=2 sts=2 | |
au FileType make setl ts=4 sw=4 sts=4 noet | |
au FileType gitcommit setl spell | |
"Markdown-related configurations | |
augroup mkd | |
autocmd BufRead *.markdown set formatoptions=tcroqn2 comments=n:> spell | |
autocmd BufRead *.md set formatoptions=tcroqn2 comments=n:> spell | |
augroup END | |
"English seplling checker | |
setlocal spelllang=en_us | |
"80 Columns | |
set colorcolumn=80 | |
highlight OverLength ctermbg=133 guibg=#592929 | |
match OverLength /\%81v.\+/ | |
"Use Source Code Pro as font | |
set guifont=Source_Code_Pro_Light:h12.00 | |
"Setting background contrast | |
set background=dark | |
"Seoul256 color | |
Bundle 'junegunn/seoul256.vim' | |
let g:seoul256_background = 235 | |
colo seoul256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment