Skip to content

Instantly share code, notes, and snippets.

@wbailey
Created June 11, 2014 16:43
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 wbailey/009bb463f3fd75b35a96 to your computer and use it in GitHub Desktop.
Save wbailey/009bb463f3fd75b35a96 to your computer and use it in GitHub Desktop.
set history=256
set autowrite
set autoread
set timeoutlen=250
set clipboard+=unnamed
set directory=~/.vim/swap
set hlsearch
set incsearch
set backspace=indent,eol,start
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set smarttab
set autoindent
set nowrap
set nocompatible
filetype off
syntax on
set number
set showmatch
set matchtime=5
set laststatus=2
set ruler
set showcmd
set fo+=o " Automatically insert the current comment leader after hitting 'o' or 'O' in Normal mode.
set fo-=r " Do not automatically insert a comment leader after an enter
set fo-=t " Do no auto-wrap text using textwidth (does not apply to comments)
colorscheme ir_black
set hidden
au VimEnter * :on
au BufRead,BufNewFile {Gemfile,Rakefile,Capfile,*.rake,config.ru} set ft=ruby
au BufRead,BufNewFile {*.md,*.mkd,*.markdown} set ft=markdown
au BufRead,BufNewFile {COMMIT_EDITMSG} set ft=gitcommit
if has("gui_running")
set guioptions-=T
endif
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/vundle'
" My Plugins
Plugin 'tpope/vim-sensible'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-rake'
Plugin 'nanotech/jellybeans.vim'
Plugin 'Lokaltog/vim-powerline'
Plugin 'scrooloose/syntastic'
Plugin 'scrooloose/nerdtree'
Plugin 'kien/ctrlp.vim'
Plugin 'rking/ag.vim'
Plugin 'kana/vim-textobj-user'
Plugin 'nelstrom/vim-textobj-rubyblock'
Plugin 'tpope/vim-endwise'
Plugin 'tpope/vim-commentary'
" Plugin 'slim-template/vim-slim'
call vundle#end()
filetype plugin indent on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment