From 124660e70f41566936a73e437af0b45ee44b267c Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Sun, 3 Dec 2017 23:58:27 -0800 Subject: [PATCH] add more atom config giles --- atom/.atom/init.coffee | 11 +++++++++++ atom/.atom/keymap.cson | 32 ++++++++++++++++++++++++++++++++ atom/.atom/snippets.cson | 21 +++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 atom/.atom/init.coffee create mode 100644 atom/.atom/keymap.cson create mode 100644 atom/.atom/snippets.cson diff --git a/atom/.atom/init.coffee b/atom/.atom/init.coffee new file mode 100644 index 0000000..09dab00 --- /dev/null +++ b/atom/.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()}" diff --git a/atom/.atom/keymap.cson b/atom/.atom/keymap.cson new file mode 100644 index 0000000..bfbadea --- /dev/null +++ b/atom/.atom/keymap.cson @@ -0,0 +1,32 @@ +# Your keymap +# +# Atom keymaps work similarly to style sheets. Just as style sheets use +# selectors to apply styles to elements, Atom keymaps use selectors to associate +# keystrokes with events in specific contexts. Unlike style sheets however, +# each selector can only be declared once. +# +# You can create a new keybinding in this file by typing "key" and then hitting +# tab. +# +# Here's an example taken from Atom's built-in keymap: +# +# 'atom-text-editor': +# 'enter': 'editor:newline' +# +# 'atom-workspace': +# 'ctrl-shift-p': 'core:move-up' +# 'ctrl-p': 'core:move-down' +# +# You can find more information about keymaps in these guides: +# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings +# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ +# +# If you're having trouble with your keybindings not working, try the +# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the +# Debugging Guide for more information: +# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings +# +# This file uses CoffeeScript Object Notation (CSON). +# If you are unfamiliar with CSON, you can read more about it in the +# Atom Flight Manual: +# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson diff --git a/atom/.atom/snippets.cson b/atom/.atom/snippets.cson new file mode 100644 index 0000000..cd66bba --- /dev/null +++ b/atom/.atom/snippets.cson @@ -0,0 +1,21 @@ +# Your snippets +# +# Atom snippets allow you to enter a simple prefix in the editor and hit tab to +# expand the prefix into a larger code block with templated values. +# +# You can create a new snippet in this file by typing "snip" and then hitting +# tab. +# +# An example CoffeeScript snippet to expand log to console.log: +# +# '.source.coffee': +# 'Console log': +# 'prefix': 'log' +# 'body': 'console.log $1' +# +# Each scope (e.g. '.source.coffee' above) can only be declared once. +# +# This file uses CoffeeScript Object Notation (CSON). +# If you are unfamiliar with CSON, you can read more about it in the +# Atom Flight Manual: +# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson