def template_settings(self): """ Per-window settings that are persisted in the session, and duplicated into new windows """ if not self.template_settings_object: self.template_settings_object = Settings( sublime_api.window_template_settings(self.window_id)) return self.template_settings_object