Skip to content

Instantly share code, notes, and snippets.

@zhangyuan
Created March 22, 2014 02:41
Show Gist options
  • Select an option

  • Save zhangyuan/9700331 to your computer and use it in GitHub Desktop.

Select an option

Save zhangyuan/9700331 to your computer and use it in GitHub Desktop.
.vimrc
syntax on
set nocompatible " be iMproved
filetype off " required!
set number
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My Bundles here:
"
" original repos on github
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
Bundle 'juvenn/mustache.vim.git'
Bundle 'Lokaltog/vim-powerline'
Bundle 'vim-scripts/VimClojure'
Bundle 'derekwyatt/vim-scala'
Bundle 'L9'
Bundle 'FuzzyFinder'
Bundle 'kien/ctrlp.vim'
Bundle 'vim-scripts/snipMate'
Bundle 'mattn/zencoding-vim'
Bundle 'scrooloose/nerdtree'
Bundle 'groenewege/vim-less'
Bundle 'kchmck/vim-coffee-script'
Bundle 'slim-template/vim-slim'
Bundle 'yaymukund/vim-rabl'
Bundle 'plasticboy/vim-markdown'
Bundle 'vim-scripts/AutoComplPop'
Bundle 'maksimr/vim-jsbeautify'
Bundle 'mileszs/ack.vim'
Bundle 'vim-scripts/taglist.vim'
"Bundle 'nathanaelkane/vim-indent-guides'
"Bundle 'Yggdroot/indentLine'
Bundle 'airblade/vim-gitgutter'
Bundle 'theevocater/thrift.vim'
filetype plugin indent on " required!
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..
set autoindent
set cindent
"set sw=2
"set ts=2
set tabstop=2 shiftwidth=2 softtabstop=2
set expandtab
" set cursorcolumn
let g:ackprg = 'ag --nogroup --nocolor --column'
highlight clear SignColumn
set backupskip=/tmp/*,/private/tmp/*
let g:Powerline_symbols='fancy'
let html_no_rendering=1
set laststatus=2
" set list
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<
"set listchars=tab:»-,trail:.,extends:>,precedes:<
map <F2> :%s/\s*$//g<cr>:noh<cr> "移除行尾空白字符
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment