diff options
Diffstat (limited to 'atom/init.coffee')
| -rw-r--r-- | atom/init.coffee | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/atom/init.coffee b/atom/init.coffee new file mode 100644 index 0000000..09dab00 --- /dev/null +++ b/atom/init.coffee @@ -0,0 +1,11 @@ +# 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 -> +# console.log "Saved! #{editor.getPath()}" |