Skip to content

Instantly share code, notes, and snippets.

@caasi
Created July 19, 2012 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caasi/3141007 to your computer and use it in GitHub Desktop.
Save caasi/3141007 to your computer and use it in GitHub Desktop.
my .vimrc
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