Skip to content

Instantly share code, notes, and snippets.

@bishopandco
Created February 22, 2013 20:57
Show Gist options
  • Save bishopandco/5016490 to your computer and use it in GitHub Desktop.
Save bishopandco/5016490 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-fugitive'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'tpope/vim-rails.git'
Bundle 'L9'
Bundle 'FuzzyFinder'
Bundle 'Lokaltog/vim-powerline'
Bundle 'git://git.wincent.com/command-t.git'
Bundle 'bundler'
Bundle 'fugitive.vim'
Bundle 'rails.vim'
Bundle 'rake.vim'
Bundle 'ruby.vim'
Bundle 'sickill/vim-sunburst'
Bundle 'scrooloose/nerdtree'
Bundle 'jistr/vim-nerdtree-tabs'
Bundle 'SuperTab'
Bundle 'jade.vim'
Bundle 'ack.vim'
Bundle 'Indent-Guides'
Bundle 'altercation/vim-colors-solarized.git'
Bundle 'aaronjensen/vim-sass-status'
Bundle 'ap/vim-css-color'
Bundle 'cakebaker/scss-syntax.vim'
Bundle 'groenewege/vim-less'
Bundle 'othree/html5.vim'
Bundle 'rstacruz/vim-ultisnips-css'
Bundle 'tpope/vim-haml'
Bundle 'vim-scripts/HTML-AutoCloseTag'
set guifont=Bitstream\ Vera\ Sans\ Mono\ for\ Powerline:h11
syntax enable
filetype plugin indent on
set number
" Powerline stuff
let g:Powerline_symbols = 'fancy'
let mapleader = ","
set backspace=indent,eol,start
set nowrap
set laststatus=2
set mouse=a
colorscheme solarized
" http://stackoverflow.com/questions/677986/vim-copy-selection-to-os-x-clipboad
vmap <C-x> :!pbcopy<CR>
vmap <C-c> :w !pbcopy<CR><CR>
command Thtml :%!tidy -q -i -html
set incsearch
set hlsearch
nnoremap <A-Up> :normal <c-r>=SwitchWindow('+')<CR><CR>
nnoremap <A-Down> :normal <c-r>=SwitchWindow('-')<CR><CR>
nnoremap <A-Left> :normal <c-r>=SwitchWindow('<')<CR><CR>
nnoremap <A-Right> :normal <c-r>=SwitchWindow('>')<CR><CR>
set expandtab
set sw=2 tw=2 et
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
"folding settings
set foldmethod=indent "fold based on indent
set foldnestmax=10 "deepest fold is 10 levels
set nofoldenable "dont fold by default
set foldlevel=1 "this is just what i use
set background=dark
let g:indent_guides_auto_colors = 0
hi IndentGuidesOdd ctermbg=black
hi IndentGuidesEven ctermbg=black
let g:indent_guides_enable_on_vim_startup = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment