view-mode for atom editor