Apps :: Edit config is the console



I kill my linux, really my fluxbox ini file, I have change some things and now it dont star, how I can edit the ini file in the console? with the MC I enter and edit the file, but I cant save and exit the file...
"sudo nano configfile"
or copy the original over it from /etc/skel

no.. the file is home/[$username]/xinitrc... well I solve the problem, the editor that use the MC is VI, and to quit the editor is Esc, ":q" to exit whithout save, and Esc, ":wq" to save...

thanks


original here.