" Vundle stuff ---------------------------------------------- set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' " Post to Wordpress using MarkDown Plugin 'ekaitz-zarraga/droWMark' " Add plugins here call vundle#end() " required " / Vundle stuff end ---------------------------------------- " Allow backspace always set backspace=indent,eol,start " Activate syntax highlighting by default syntax on " Different config for each filetype filetype plugin on " Show trailing spaces highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@ function TrimWhiteSpace() %s/\s*$// '' :endfunction nnoremap :call TrimWhiteSpace() " Fold set foldmethod=syntax set foldlevelstart=99 " HighLight search and map CarrierReturn to remove highlight set hlsearch nnoremap :noh " Ignore Case in search set ignorecase set smartcase " Always show tabline (0=never, 1=when there are at least 2 tabs, 2=always) set showtabline=2 " Mouse support set mouse=a " Set default colorscheme but dark comments -> Torte colorscheme torte