set nocompatible " don't use vi-compatible mode filetype on " detect file type filetype plugin on filetype indent on " for using vim+latexsuite " let g:Tex_ViewRule_pdf = 'Skim' " let g:Tex_ViewRule_ps = 'Preview' " let g:Tex_DefaultTargetFormat = 'pdf' " let g:Imap_UsePlaceHolders = 0 " let g:Imap_FreezeImap = 1 " let g:tex_flavor = 'latex' " 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 shellslash " for win32 users set backspace=indent,eol,start set incsearch " BUT do highlight as you type you search phrase set ruler " show line & column set ignorecase " case-insensitive search set smartcase " case-sensitve if search has upper case set showmatch " show matching brackets set autoindent " auto indenting set copyindent " copy previous indentation set noerrorbells " no noises set laststatus=2 " always show status line set background=dark "set lsp=0 " space out a bit more set history=100 " increase from default 20 set title " always show window title colorscheme desert " available schemes in " /usr/share/vim/vimXX/colors/ " Remember last position in file au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif