sublime快速入门
  • 自定义删除当前行快捷键
Preferences:Key Bindings:run_macro_file
[
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }
]
  • 设置失去焦点自动保存
Preferences:Setting:save_on_focus_lost
// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by syntax-specific settings.
{
// Set to true to automatically save files when switching to a different file
// or application
"save_on_focus_lost": true
}

参考资料

Copy link