Created
August 18, 2014 13:15
-
-
Save gorgogol/08799249875e3378dc79 to your computer and use it in GitHub Desktop.
A vimrc with a set of bundles for web development.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" Let Vundle manage Vundle | |
Bundle 'gmarik/vundle' | |
" My Bundles | |
" A set of sensible defaults. | |
Bundle 'tpope/vim-sensible' | |
" Useful shortcuts for tags/braces/parenthesis. | |
Bundle 'tpope/vim-surround' | |
" Git commands. | |
Bundle 'tpope/vim-fugitive' | |
" Use tab to trigger autocompletion. | |
Bundle 'ervandew/supertab' | |
" Neat color scheme. | |
Bundle 'nanotech/jellybeans.vim' | |
" Nice status line. | |
Bundle 'Lokaltog/vim-powerline' | |
" Syntax checker. | |
Bundle 'scrooloose/syntastic' | |
" File system tree sidebar. | |
Bundle 'scrooloose/nerdtree' | |
" File finder. | |
Bundle 'kien/ctrlp.vim' | |
" Silver searcher interface (like grep but faster). | |
Bundle 'rking/ag.vim' | |
" Easier text objects. | |
Bundle 'kana/vim-textobj-user' | |
" Slim syntax highlighting. | |
Bundle 'slim-template/vim-slim' | |
Bundle 'Shougo/vimproc' | |
" Another search interface. | |
Bundle 'Shougo/unite.vim' | |
" Laravel autocompletion. | |
Bundle 'm2mdas/phpcomplete-extended-laravel' | |
filetype plugin indent on | |
let mapleader="," | |
set cursorline | |
set expandtab | |
set modelines=0 | |
set shiftwidth=2 | |
set clipboard=unnamed | |
set synmaxcol=128 | |
set ttyscroll=10 | |
set encoding=utf-8 | |
set tabstop=2 | |
set nowrap | |
set number | |
set expandtab | |
set nowritebackup | |
set noswapfile | |
set nobackup | |
set hlsearch | |
set ignorecase | |
set smartcase | |
autocmd vimenter * NERDTree | |
let g:SuperTabDefaultCompletionType = "<c-x><c-o>" | |
" autocmd FileType php setlocal omnifunc=phpcomplete_extended#CompletePHP | |
autocmd BufWritePre *.haml :%s/\s\+$//e | |
autocmd BufWritePre *.html :%s/\s\+$//e | |
autocmd BufWritePre *.scss :%s/\s\+$//e | |
au BufNewFile * set noeol | |
au BufRead,BufNewFile *.go set filetype=go | |
color jellybeans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment