I usually use either the Vim or the elvis text editor, greatly enhanced versions of vi, featuring windows, mouse capability and many other conveniences. The current version of Vim has features which include
The Red Hat distribution of Linux uses Vim as its version of vi. (It is apparently not the GUI-compiled version, though the latter, under the name of GVim, is on our CSIF Linux PCs.)
Here is information on Vim:
Another greatly enhanced version of vi, comparable to Vim (better in some ways, not as good in others) is elvis.