Use 0 if nano is not specified