learning to commit using the editor