set nocompatible " don't use vi-compatible mode filetype on " detect file type filetype plugin on " for using vim+latex suite on Mac OS " let g:Tex_ViewRule_pdf = 'Skim' " let g:Tex_ViewRule_ps = 'Preview' " let g:Tex_DefaultTargetFormat = 'pdf' " let g:Imap_UsePlaceHolder = 0 " Switch syntax highlighting on, when the terminal has colors if &t_Co > 2 || has("gui_running") syntax on set nohlsearch " don't highlight search terms endif set incsearch " BUT do highlight as you type you search phrase set ruler " show line & column set ignorecase " case-insensitive search set showmatch " show matching brackets set autoindent " auto indenting set noerrorbells " no noises set laststatus=2 " always show status line set background=dark "- only if the background is set to dark "set lsp=0 " space out a bit more colorscheme desert " available schemes in " /usr/share/vim/vim70/colors/ " Remember last position in file au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif