" Section General {{{ " Abbreviations abbr funciton function abbr teh the abbr tempalte template abbr fitler filter set shortmess=a set nocompatible " not compatible with vi set autoread " detect when a file is changed " make backspace behave in a sane manner set backspace=indent,eol,start " set a map leader for more key combos let mapleader = ',' let g:mapleader = ',' set history=1000 " change history to 1000 set textwidth=120 " Tab control set noexpandtab " insert tabs rather than spaces for set smarttab " tab respects 'tabstop', 'shiftwidth', and 'softtabstop' set tabstop=4 " the visible width of tabs set softtabstop=4 " edit as if the tabs are 4 characters wide set shiftwidth=4 " number of spaces to use for indent and unindent set shiftround " round indent to a multiple of 'shiftwidth' set completeopt+=longest if has('mouse') set mouse=a " set ttymouse=xterm2 endif set clipboard=unnamed " faster redrawing set ttyfast set diffopt+=vertical " highlight conflicts match ErrorMsg '^\(<\|=\|>\)\{7\}\([^=].\+\)\?$' set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp set laststatus=2 " show the satus line all the time " vim:foldmethod=marker:foldlevel=0 " }}}