Created
July 19, 2012 05:41
-
-
Save caasi/3141007 to your computer and use it in GitHub Desktop.
my .vimrc
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 | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
Bundle 'gmarik/vundle' | |
" my bundles | |
Bundle 'goatslacker/mango.vim' | |
Bundle 'scrooloose/nerdtree' | |
" snipmate | |
Bundle 'MarcWeber/vim-addon-mw-utils' | |
Bundle 'tomtom/tlib_vim' | |
Bundle 'snipmate-snippets' | |
Bundle 'garbas/vim-snipmate' | |
" javascript | |
Bundle 'pangloss/vim-javascript' | |
Bundle 'kchmck/vim-coffee-script' | |
" jade | |
Bundle 'digitaltoad/vim-jade' | |
filetype plugin indent on | |
" encoding | |
set fileencodings=utf-8,big5,gbk,latin1 | |
set fileencoding=utf-8 | |
" indent and coloring | |
set background=dark | |
syntax on | |
color mango | |
set nu | |
set tabstop=2 | |
set softtabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
autocmd FileType make setlocal noexpandtab | |
" markdown filetype file | |
au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn} set filetype=markdown | |
" NERDTree | |
nnoremap <silent> <C-d> :NERDTreeToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment