Vim

vim is not installed by default, so: sudo apt-get install vim

Now this goes into .vimrc (.vimrc):

"50 commands in history
set history=50

"always have syntax highlighting:
syntax on

"Switch on search pattern highlighting:
set hlsearch

"Tabstops auf 2 chars:
set tabstop=2
set shiftwidth=2

"No beeps, Visual Bell:
set vb

"Matching pair characters:
set matchpairs=(:),{:},[:],<:>

"line,col number:
set ruler

"linenumbers
set nu