1) In am pretty sure the default text editor with gentoo is nano.
2) Create (or edit) your /home/username/.xinitrc file to read:
And it should fire up when you do a "startx". I am not too sure though because I don't use Gnome. "exec fluxbox" works fine as does "exec kde"...