Vim
From FreeBSDwiki
Vim is a very powerfull text editor. It is an extanded version of Vi and means VI iMprouved. It supports many features such as syntax highlighting or folding, can keep backup of our files, and many others ...
Note that vim is not part of FreeBSD, you will have to install it before running it. One installed, Your are adviced to copy the file "/usr/local/share/vim/vim63/vimrc_example.vim" into your home directory and rename it ".vimrc".
See also vi, ee (commonly aliased under FreeBSD as "edit"), joe, nano, pico, vim or emacs.