use vim, you can download from www.vim.org. this is vi improvement version. I like it so much after using 2 year vi editor. As compared with vi, vim reserved all basic command, and add other very useful function such as split window, save backup file, grammer check.