Skip to content

Instantly share code, notes, and snippets.

@BigEndian
Created March 26, 2012 10:12
Show Gist options
  • Save BigEndian/2204293 to your computer and use it in GitHub Desktop.
Save BigEndian/2204293 to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
"Bundle 'gmarik/vundle'
" colorsupport placed at the top because it takes the first of rtp and uses it to cache, apparently another plugin somewhere in here is messing with it
Bundle 'colorsupport.vim'
Bundle 'godlygeek/tabular'
Bundle 'rstacruz/sparkup', {'rtp': 'vim'}
Bundle 'sjl/badwolf'
Bundle 'tpope/vim-surround'
Bundle 'scrooloose/nerdtree'
Bundle 'Lokaltog/vim-powerline'
Bundle 'samsonw/vim-task'
Bundle 'paster.vim'
Bundle 'mattn/webapi-vim'
" Bundle 'github.com/mattn/gist-vim/tree/use_api'
set rtp+=~/.vim/bundle/gist-vim
"Color themes
Bundle 'noahfrederick/Hemisu'
Bundle 'djjcast/mirodark'
Bundle 'baskerville/bubblegum'
" Syntax hl
Bundle 'wlangstroth/vim-racket'
Bundle 'fsouza/go.vim'
Bundle 'groenewege/vim-less'
" Plugin Settings {{{
" Settings for vim-powerline
set encoding=utf-8
set laststatus=2
let g:Powerline_symbols='unicode'
"Nerdtree
nnoremap <C-b> :NERDTreeToggle<CR>
autocmd vimenter * if !argc() | NERDTree | endif
" ColorScheme configuration
autocmd vimenter * ColorScheme IR_Black
autocmd vimenter * silent ColorSchemeSave
autocmd vimenter * silent PowerlineReloadColorscheme
" }}}
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
filetype plugin indent on
set tabstop=3
set shiftwidth=3
set expandtab " replaces tabs with spaces
set smartindent
set smartcase " be case sensitive when the input has a capital letter in it
set autoindent " match indent on new line from line prior when using o, O, or <CR>
set smarttab " something about tabs
set hlsearch
set pastetoggle=<F10> " Toggle paste/nopaste mode with F10
set shiftround " round to multiple of shiftwidth when indenting
set hidden " allow buffers to be put into the background without writing them
if &term =~ "xterm" || &term =~ "screen"
"256 color --
let &t_Co=256
" restore screen after quitting
"set t_ti=ESC7ESC[rESC[?47h t_te=ESC[?47lESC8
if has("terminfo")
let &t_Sf="\ESC[3%p1%dm"
let &t_Sb="\ESC[4%p1%dm"
else
let &t_Sf="\ESC[3%dm"
let &t_Sb="\ESC[4%dm"
endif
endif
"color jellybeans
"color molokai
"color rdark-terminal
" Then save it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment