Skip to content

Instantly share code, notes, and snippets.

@CarlEkerot
Created February 10, 2014 07:16
Show Gist options
  • Save CarlEkerot/8911674 to your computer and use it in GitHub Desktop.
Save CarlEkerot/8911674 to your computer and use it in GitHub Desktop.
.vimrc
" Fix vim compability + arrow keys
set nocompatible
" Allow for large undo-history
set history=2000
" Fix backspace
set backspace=eol,start,indent
set whichwrap+=<,>,h,l
" Show cursor pos
set ruler
" Incremental search
set incsearch
" Regex
set magic
" Show matching brackets
set showmatch
" Spaces
set expandtab
" Indentstuff
set smarttab
set shiftwidth=4
set tabstop=4
" Disable swap files
set noswapfile
""""""""""""""""""""""""""""""""
" Vundle stuff
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" YouCompleteMe
Bundle 'Valloric/YouCompleteMe'
" CoffeeScript
Bundle 'kchmck/vim-coffee-script'
" DelimitMate
Bundle 'Raimondi/delimitMate'
" Trailing whitespaces
Bundle 'bronson/vim-trailing-whitespace'
filetype plugin indent on
" Colors etc
syntax enable
colorscheme desert
set background=dark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment