有太多次我不小心点击了Sublime Text 2右上方窗口的X.然后我松开了我的撤销/重做历史。
编辑:我尝试在默认和用户设置中将hot_exit设置为false。
答案 0 :(得分:9)
在Preferences.sublime-settings
中查找 hot_exit// 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,
并将其设置为false。
答案 1 :(得分:0)