A 14 lines only .vimrc files for the vim under linux, I can use it everywhere as I used to be.
set nocompatible " get out of horrible vi-compatible mode syntax on " syntax highlight on set ruler " Always show current positions along the bottom set number " trun on line number set showmatch " show matching brackets set ai " autoindent set si " smartindent set cindent " do c-style indenting set tabstop=4 " tab spacing set softtabstop=4 " tab spacing set shiftwidth=4 " tab spacing set expandtab " not real tabs please! set smarttab " use tabs at the start of a line, spaces elsewhere set so=5 " Keep 5 lines (top/bottom) for scope