Ussualy for editing configuration at command line interface on linux server i’m using pico as favorite editor 😀 . Because pico editor is the best and simple editor for me. Many people around me are using pico instead too of other editor like vim which come with centos.
As you know, pico is not come together with centos and you may refer to this article and apply to your server.
yum install nano
ln -s nano pico
Now, try to pico and you will be able to use it. And pico can be using on My CentOs 😀