" Use Vim settings, rather then Vi settings (much better!). " This must be first, because it changes other options as a side effect. set nocompatible " good color scheme colorscheme torte " line numbering on set number " show line number and column set ruler " show INSERT/OPEN/etc mode on status line set showmode " case insensitive search set ic " allow backspacing over everything in insert mode set backspace=indent,eol,start " do incremental searching set incsearch " Turn off annoying beeps set vb " tabs not dumb "set tabstop=4 "set shiftwidth=4 "set expandtab "insert space chars instead of tabs "set softtabstop=4 "treats 4-space seq like tabs (for backspace purposes) " Switch syntax highlighting on, when the terminal has colors " Also switch on highlighting the last used search pattern. if &t_Co > 2 || has("gui_running") syntax on set hlsearch endif