进行一些说明, 例如背景等
使用案例
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| local alert = require("hs.alert") | |
| local timer = require("hs.timer") | |
| local eventtap = require("hs.eventtap") | |
| local events = eventtap.event.types | |
| local module = {} | |
| -- Save this in your Hammerspoon configuration directiorn (~/.hammerspoon/) | |
| -- You either override timeFrame and action here or after including this file from another, e.g. |
| public static void main(String[] args) { | |
| } |
| int main(int argc, char **argv) { | |
| } |
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
| atom |