Created
February 10, 2014 07:16
-
-
Save carl-olin/8911674 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or 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
" 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