" Default color scheme to use colorscheme doriath " Custom color scheme to use for perl files autocmd FileType perl colorscheme desert256 " Switch on syntax highlighting syntax enable " Use Vim improvements set nocompatible " Display line numbers on the left set number " Auto indenting with indentation level from previous line set autoindent " Smart auto indent when starting new line set smartindent " C program indenting set cindent " Keep backup files set backup " Insert two spaces afer period when joining lines set joinspaces " Protect file from being accidentally overwritten set readonly " Display ruler in status line set ruler " Open new window below current one set splitbelow " Show Vim window title set title " Move to matching bracket set showmatch " Keep 500 lines of Ex commands set history=500 " Convert tabs to spaces set expandtab " Width of tab character in spaces set tabstop=4 " Width of auto indents in spaces set shiftwidth=4 " Hide menu, toolbar and right scroll bar set go-=m go-=T go-=r " Disable beep and flash set noeb vb t_vb= " Insert text at specific column set virtualedit=all " Highlight unwanted spaces set list listchars=tab:»·,trail:·