Skip to content

Instantly share code, notes, and snippets.

@peterver
Created September 27, 2016 09:38
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 peterver/936df1d0b825107e239f9f6f7394e391 to your computer and use it in GitHub Desktop.
Save peterver/936df1d0b825107e239f9f6f7394e391 to your computer and use it in GitHub Desktop.
Standard .vimrc
set nocompatible
""""""""""""""""""""""""""""""""""""""""
" VUNDLE
""""""""""""""""""""""""""""""""""""""""
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'Valloric/YouCompleteMe'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'Raimondi/delimitMate'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'sheerun/vim-polyglot'
call vundle#end()
filetype plugin indent on
"""""""""""""""""""""""
" GENERAL
"""""""""""""""""""""""
set t_Co=256
syntax on
let g:NERDTreeWinSize = 50
set number " show line numbers
set linebreak " Break lines at word
set showmatch " highlight matching brace
set textwidth=150 " line wrap number of cols
set laststatus=2 " automatically sets airline
set ttyfast " Send more characters for redraws
set mouse=a " Enable mouse use in all modes
set ttymouse=xterm2 " name of terminal
set hlsearch
set smartcase
set ignorecase
set incsearch
set shiftwidth=4
set expandtab
set autoindent
set backspace=indent,eol,start
set autowrite
"""""""""""""""""""""""
" ADVANCED
"""""""""""""""""""""""
set ruler
set undolevels=1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment