" Configuration file for vim " Normally we use vim-extensions. If you want true vi-compatibility " remove change the following statements set nocompatible " Use Vim defaults instead of 100% vi compatibility set backspace=2 " more powerful backspacing " Don't write backup file if vim is being called by "crontab -e" au BufWrite /private/tmp/crontab.* set nowritebackup " Don't write backup file if vim is being called by "chpass" au BufWrite /private/etc/pw.* set nowritebackup set tabstop=4 set autoindent set smartindent set tabstop=4 set shiftwidth=4 set showmatch set ruler set nohls set incsearch set hlsearch set mouse=a syntax on " folding options "set foldmethod=indent "set foldlevel=3 "hi Search ctermbg=DarkYellow hi Search ctermfg=Black hi Search ctermbg=LightGreen