如何配置Sublime Text以不记住会话之间的文件和未保存的更改?

时间:2013-04-18 13:21:01

标签: sublimetext2 sublimetext

在会话之间,Sublime Text会记住我打开了哪些文件(以及未保存的文件更改)。如何让Sublime Text在会话之间忘记这些?

1 个答案:

答案 0 :(得分:1)

偏好设置 - >设置 - 默认您必须禁用以下属性:

[...]
// Exiting the application with hot_exit enabled will cause it to close
// immediately without prompting. Unsaved modifications and open files will
// be preserved and restored when next starting.
//
// Closing a window with an associated project will also close the window
// without prompting, preserving unsaved changes in the workspace file
// alongside the project.

"hot_exit": true,

// remember_open_files makes the application start up with the last set of
// open files. Changing this to false will have no effect if hot_exit is
// true

"remember_open_files": true,
[...]

将两者都置于false值,您将实现这一目标。