Sometimes it just takes a nudge. Glad I could set you on the right course.
As you can suspect there are any number of editors available. Search
yum and the web and try some out. You'll probably want to stick to a cli version though, since you're using
sudo, and it can be a bit tricky to get a gui editor running in another user's x-session.
My personal recommendation is
vim, if you have the gumption to tackle it. It has a steep,
steep learning curve, but the view from the top makes the effort very worthwhile. It's one of the granddaddies of *nix text editing, along with
emacs, and there's a long-running rivalry between them.
Vim Creep (a motivating essay)
A Byte of Vim (a good tutorial)
vimtutor (shell command that launches an interactive tutorial)