I suggest emacs for features (emacs -nw if you use a terminal), nano for simplicity.
I need a text editor that is fast and smart enough to edit and create config files
Any editor can edit a configuration file (which is just normal text)
Creating the file is easy, but you will have to write it yourself.
What features do you need?