Text editor

A text editor is a program to create and edit of text files. You need to editor to edit config files.

Software
You find more editors in the "app-editors" and "x11-terms" categories.

Set default
You can set system wide the default editor in the, e.g. switch to Vim:

Each user can also set his default editor with eselect (replace NUMBER with the wanted number):

Actually eselect modifies the file above. It seems that the old method of editing doesn't work any more.