Skip to content

Instantly share code, notes, and snippets.

@JosephRedfern
Created February 20, 2013 15:34
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 JosephRedfern/4996407 to your computer and use it in GitHub Desktop.
Save JosephRedfern/4996407 to your computer and use it in GitHub Desktop.
"Enable Vundle
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
"Vundles! Wo0oho0o!
Bundle 'gmarik/vundle'
Bundle 'kien/ctrlp.vim'
Bundle 'altercation/vim-colors-solarized'
Bundle 'vim-scripts/JavaScript-Indent'
Bundle 'jcf/vim-latex'
Bundle 'python.vim'
Bundle 'uguu-org/vim-matrix-screensaver'
Bundle 'vim-scripts/javacomplete'
Bundle 'ervandew/supertab'
Bundle 'Lokaltog/powerline'
Bundle 'tpope/vim-fugitive'
Bundle 'mattn/webapi-vim'
Bundle 'mattn/gist-vim'
"General config
set number "Enable line numbers
set autoindent "Autoindentation FTW
set smartindent
set expandtab
set shiftwidth=4
"set mouse=a "Enable mouse mode (coz i'm a n00b)
set tabstop=4 "tabspace = 4, just because
set wildmenu "wildmenu... can't be bad!
set wildmode=list:longest,full "widmenu - even better!
syntax on "enable syntax hilighting
set background=dark "i loves a dark background
set transparency=3
colorscheme solarized "solarized is awesome.
filetype plugin indent on
set paste
"Autocomplete Wizardry
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType c set omnifunc=ccomplete#Complete
autocmd Filetype java set omnifunc=javacomplete#Complete
"Enable Powerline
"set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment