Essential .vimrc
These two lines will create and display a custom status line. The status line will include the name of the file, the ascii and hex values for the character under the cursor, and the location of the cursor.
set statusline=%F%m%r%h%w\ ASC=[\%03.3b]\ HEX=[\\x\%02.2B]\ %l,%v\ %p%% set laststatus=2
