If your linux distribution comes with a “normal” vi editor (this means, whithout colored interface and reading), you can “upgrade” your vi with a more readable interface. Some versions before, after Vim5, vim supports syntax highlighting by default, but if it is not enabled, you can modify your .vimrc and add next lines:
syntax on
If using a dark background within the editing area and syntax highlighting
turn on this option as well
set background=dark
And to have a jump to the last position when reopening a file, add next lines:
if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")\| exe "normal g'\"" | endif endif
Sometimes, small distributed versions comes with vi-tiny, you must delete it first and install next debian packages (in other distributions may vary)
y si tenemos el vi-tiny instalado, lo borramos e instalamos :
vim Vi IMproved - enhanced vi editor vim-common Vi IMproved - Common files vim-runtime Vi IMproved - Runtime files