execute pathogen#infect() filetype plugin indent on filetype plugin on syntax on set ruler set title set number set hlsearch set incsearch set ignorecase smartcase set omnifunc=syntaxcomplete#Complete set background=light set tabstop=4 softtabstop=4 shiftwidth=4 set backspace=eol,indent,start set diffopt+=iwhite colorscheme molokai " I have never intended to use the builtin help map imap map :update:make imap :update:make map :call SetExecutable() imap :call SetExecutable "language specific syntastic configurtion let g:syntastic_cpp_compiler="g++" let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic" autocmd Filetype python setlocal expandtab autocmd Filetype markdown setlocal textwidth=72 expandtab autocmd Filetype haskell setlocal expandtab " Remove trailing whitespace, always. autocmd BufWritePre * :%s/\s\+$//e " Keep backup files etc out of the way set undofile set undolevels=1000 set undoreload=10000 set undodir=~/.cache/vim/undo " vim will not create this directory. set directory=~/.cache/vim/swap " vim will not create this directory. set backupdir=~/.cache/vim/backup " vim will not create this directory. set backup set viminfo+=n~/.cache/vim/viminfo " Death to the "Thanks for flying vim" message set titleold="" " Fix an issue with the indentLine plugin. let g:indentLine_concealcursor='nc'