added editrc for ctrl-r