add atom config

This commit is contained in:
Sami Samhuri 2014-06-24 10:17:45 -07:00
parent 019e167dd5
commit 8ff7472752
6 changed files with 97 additions and 0 deletions

4
.gitignore vendored
View file

@ -5,3 +5,7 @@ emacs.d/auto-save-list/.saves*
*.pyc *.pyc
*.cache *.cache
irb_history irb_history
atom/compile-cache
atom/.node-gyp
atom/storage
atom/packages

25
atom/config.cson Normal file
View file

@ -0,0 +1,25 @@
'exception-reporting':
'userId': 'cdd550b3-4a3f-778c-9b88-71ba634f106c'
'release-notes':
'viewedVersion': '0.94.0'
'welcome':
'showOnStartup': false
'metrics':
'userId': 'e31a97b67a24d6f167e790f4438b2b7f86422ca7'
'editor':
'fontFamily': 'Menlo'
'softWrap': true
'fontSize': 14
'core':
'themes': [
'atom-dark-ui'
'atom-light-syntax'
]
'projectHome': '/Users/sjs/Projects'
'markdown-preview':
'grammars': [
'source.gfm'
'source.litcoffee'
'text.plain'
'text.plain.null-grammar'
]

14
atom/init.coffee Normal file
View file

@ -0,0 +1,14 @@
# 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 make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
# atom.workspaceView.eachEditorView (editorView) ->
# editor = editorView.getEditor()
# if path.extname(editor.getPath()) is '.md'
# editor.setSoftWrap(true)

18
atom/keymap.cson Normal file
View file

@ -0,0 +1,18 @@
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
# to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# 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:
#
# '.editor':
# 'enter': 'editor:newline'
#
# 'body':
# 'ctrl-P': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#

15
atom/snippets.cson Normal file
View file

@ -0,0 +1,15 @@
# 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'
#

21
atom/styles.less Normal file
View file

@ -0,0 +1,21 @@
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
.tree-view {
}
.editor {
}
.editor .cursor {
}