Skip to content

Commit

Permalink
Add atom prefs
Browse files Browse the repository at this point in the history
Close #7
  • Loading branch information
MoOx committed May 13, 2014
1 parent e7923cf commit 7885dcf
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/atom/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
atom.symlink/.node-gyp
atom.symlink/compile-cache
atom.symlink/packages
atom.symlink/storage
27 changes: 27 additions & 0 deletions apps/atom/atom.symlink/config.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
'exception-reporting':
'userId': '3ba70428-f782-5321-e73a-7b678f36511c'
'release-notes':
'viewedVersion': '0.94.0'
'welcome':
'showOnStartup': false
'metrics':
'userId': '9e20623847c7c22109bc7b34e71c459485f8781a'
'editor':
'showInvisibles': true
'fontFamily': 'Monaco'
'showIndentGuide': true
'softTabs': false
'fontSize': 14
'core':
'themes': [
'monokai-tweaked-ui'
'monokai-tweaked-syntax'
]
'projectHome': '/Users/MoOx/Sync/Development'
'disabledPackages': [
'autocomplete-plus'
]
'autosave':
'enabled': true
'jshint':
'validateOnlyOnSave': true
14 changes: 14 additions & 0 deletions apps/atom/atom.symlink/init.coffee
Original file line number Diff line number Diff line change
@@ -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 changes: 18 additions & 0 deletions apps/atom/atom.symlink/keymap.cson
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions apps/atom/atom.symlink/snippets.cson
Original file line number Diff line number Diff line change
@@ -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'
#
9 changes: 9 additions & 0 deletions apps/atom/atom.symlink/styles.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* 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
*/

0 comments on commit 7885dcf

Please sign in to comment.