yep... vi and emacs are your text editors....
personally, I prefer vi. They're both awkward until you get used to them, though.
You'll probably want to go over a quick reference, like
this one though...
The main thing to remember is that vi uses 2 modes... insert and command. To go to insert (able to type things) hit 'i', to get out, and back to command, hit 'ESC' or 'CTRL ['.
Good luck, and may the force be with you.