Skip to content

Instantly share code, notes, and snippets.

@mikoscz
Last active August 11, 2016 14:41
Show Gist options
  • Save mikoscz/2b9e269b1ed6644435a32fcf19497aec to your computer and use it in GitHub Desktop.
Save mikoscz/2b9e269b1ed6644435a32fcf19497aec to your computer and use it in GitHub Desktop.
# 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)
# 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'
#
# '.workspace':
# 'ctrl-P': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
'.platform-darwin atom-text-editor':
'alt-cmd-down': 'unset!'
'alt-cmd-up': 'unset!'
'.platform-darwin':
'cmd-l': 'go-to-line:toggle'
'.platform-darwin atom-text-editor':
'cmd-l': 'unset!'
'.workspace':
'alt-cmd-right': 'window:focus-pane-on-right'
'alt-cmd-left': 'window:focus-pane-on-left'
'alt-cmd-down': 'window:focus-pane-below'
'alt-cmd-up': 'window:focus-pane-above'
[
{
"name": ".bin"
},
{
"name": "about",
"version": "1.3.0"
},
{
"name": "archive-view",
"version": "0.61.0"
},
{
"name": "atom-dark-syntax",
"version": "0.27.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.51.0",
"theme": "ui"
},
{
"name": "atom-handlebars",
"version": "1.3.0"
},
{
"name": "atom-light-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.43.0",
"theme": "ui"
},
{
"name": "atom-pair",
"version": "2.0.10"
},
{
"name": "atom-qunit-snippets",
"version": "1.1.0"
},
{
"name": "atom-spec-finder",
"version": "2.1.1"
},
{
"name": "atom-ternjs",
"version": "0.13.2"
},
{
"name": "auto-update-packages",
"version": "1.0.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.9.2"
},
{
"name": "autocomplete-css",
"version": "0.11.0"
},
{
"name": "autocomplete-html",
"version": "0.7.2"
},
{
"name": "autocomplete-plus",
"version": "2.29.1"
},
{
"name": "autocomplete-snippets",
"version": "1.9.0"
},
{
"name": "autoflow",
"version": "0.26.0"
},
{
"name": "autosave",
"version": "0.23.0"
},
{
"name": "background-tips",
"version": "0.26.0"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.1.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.1.1",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.38.0"
},
{
"name": "bracket-matcher",
"version": "0.79.0"
},
{
"name": "colorful-cursor",
"version": "0.3.1"
},
{
"name": "command-palette",
"version": "0.38.0"
},
{
"name": "deprecation-cop",
"version": "0.54.0"
},
{
"name": "dev-live-reload",
"version": "0.47.0"
},
{
"name": "editorconfig",
"version": "1.2.4"
},
{
"name": "ember-snippets",
"version": "1.4.0"
},
{
"name": "ember-tabs",
"version": "2.2.0"
},
{
"name": "emmet-snippets-compatibility",
"version": "1.0.4"
},
{
"name": "encoding-selector",
"version": "0.21.0"
},
{
"name": "es6-javascript",
"version": "0.5.0"
},
{
"name": "exception-reporting",
"version": "0.37.0"
},
{
"name": "file-icons",
"version": "1.6.18"
},
{
"name": "find-and-replace",
"version": "0.195.0"
},
{
"name": "fuzzy-finder",
"version": "0.94.0"
},
{
"name": "git-blame",
"version": "0.4.8"
},
{
"name": "git-control",
"version": "0.4.0"
},
{
"name": "git-diff",
"version": "0.57.0"
},
{
"name": "git-log",
"version": "0.4.1"
},
{
"name": "git-plus",
"version": "5.13.0"
},
{
"name": "git-projects",
"version": "1.17.0"
},
{
"name": "git-status",
"version": "0.3.4"
},
{
"name": "go-to-line",
"version": "0.30.0"
},
{
"name": "grammar-selector",
"version": "0.48.0"
},
{
"name": "hipchat-chat",
"version": "0.1.1"
},
{
"name": "image-view",
"version": "0.56.0"
},
{
"name": "incompatible-packages",
"version": "0.25.0"
},
{
"name": "jshint",
"version": "1.8.3"
},
{
"name": "jumpy",
"version": "3.0.3"
},
{
"name": "keybinding-resolver",
"version": "0.33.0"
},
{
"name": "language-babel",
"version": "2.15.5"
},
{
"name": "language-c",
"version": "0.51.1"
},
{
"name": "language-clojure",
"version": "0.19.1"
},
{
"name": "language-coffee-script",
"version": "0.46.0"
},
{
"name": "language-csharp",
"version": "0.11.0"
},
{
"name": "language-css",
"version": "0.36.0"
},
{
"name": "language-ember-htmlbars",
"version": "0.3.0"
},
{
"name": "language-ember-script",
"version": "0.2.0"
},
{
"name": "language-gfm",
"version": "0.82.0"
},
{
"name": "language-git",
"version": "0.11.0"
},
{
"name": "language-go",
"version": "0.42.0"
},
{
"name": "language-haml",
"version": "0.23.15"
},
{
"name": "language-html",
"version": "0.44.0"
},
{
"name": "language-hyperlink",
"version": "0.16.0"
},
{
"name": "language-java",
"version": "0.17.0"
},
{
"name": "language-javascript",
"version": "0.105.0"
},
{
"name": "language-javascript-jsx",
"version": "0.3.7"
},
{
"name": "language-json",
"version": "0.17.3"
},
{
"name": "language-less",
"version": "0.29.0"
},
{
"name": "language-make",
"version": "0.21.0"
},
{
"name": "language-mustache",
"version": "0.13.0"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.32.0"
},
{
"name": "language-php",
"version": "0.36.0"
},
{
"name": "language-property-list",
"version": "0.8.0"
},
{
"name": "language-python",
"version": "0.43.0"
},
{
"name": "language-rspec",
"version": "0.5.0"
},
{
"name": "language-rspec-plus",
"version": "0.1.1"
},
{
"name": "language-ruby",
"version": "0.68.0"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.0"
},
{
"name": "language-sass",
"version": "0.45.0"
},
{
"name": "language-shellscript",
"version": "0.21.0"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.20.0"
},
{
"name": "language-text",
"version": "0.7.0"
},
{
"name": "language-todo",
"version": "0.27.0"
},
{
"name": "language-toml",
"version": "0.18.0"
},
{
"name": "language-xml",
"version": "0.34.2"
},
{
"name": "language-yaml",
"version": "0.25.0"
},
{
"name": "line-ending-selector",
"version": "0.3.0"
},
{
"name": "link",
"version": "0.31.0"
},
{
"name": "linter",
"version": "1.11.3"
},
{
"name": "linter-erb",
"version": "1.0.2"
},
{
"name": "linter-eslint",
"version": "7.0.0"
},
{
"name": "linter-jscs",
"version": "3.4.8"
},
{
"name": "linter-jshint",
"version": "2.0.2"
},
{
"name": "markdown-pdf",
"version": "1.3.9"
},
{
"name": "markdown-preview",
"version": "0.157.1"
},
{
"name": "markdown-preview-plus",
"version": "2.2.2"
},
{
"name": "markdown-themeable-pdf",
"version": "0.10.2"
},
{
"name": "markdown-writer",
"version": "2.3.2"
},
{
"name": "merge-conflicts",
"version": "1.3.7"
},
{
"name": "metrics",
"version": "0.53.1"
},
{
"name": "minimap",
"version": "4.20.0"
},
{
"name": "minimap-git-diff",
"version": "4.2.0"
},
{
"name": "notifications",
"version": "0.62.1"
},
{
"name": "one-dark-syntax",
"version": "1.1.2",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.1.9",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.1.2",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.1.9",
"theme": "ui"
},
{
"name": "open-git-modified-files",
"version": "0.2.1"
},
{
"name": "open-on-github",
"version": "0.40.0"
},
{
"name": "open-recent",
"version": "5.0.0"
},
{
"name": "package-generator",
"version": "0.41.0"
},
{
"name": "rails-finder",
"version": "0.5.0"
},
{
"name": "rails-i18n-autocomplete",
"version": "0.3.0"
},
{
"name": "rails-open-rspec",
"version": "1.0.0"
},
{
"name": "rails-rspec",
"version": "0.3.2"
},
{
"name": "rails-snippets",
"version": "2.2.1"
},
{
"name": "rails-transporter",
"version": "1.6.5"
},
{
"name": "remember-file-positions",
"version": "0.2.2"
},
{
"name": "rspec-snippets",
"version": "0.4.0"
},
{
"name": "set-syntax",
"version": "0.3.0"
},
{
"name": "settings-view",
"version": "0.232.3"
},
{
"name": "smart-tab-name",
"version": "1.0.5"
},
{
"name": "snippets",
"version": "1.0.1"
},
{
"name": "solarized-dark-syntax",
"version": "0.39.0",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "0.23.0",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.65.0"
},
{
"name": "status-bar",
"version": "0.80.0"
},
{
"name": "styleguide",
"version": "0.45.0"
},
{
"name": "symbols-view",
"version": "0.110.1"
},
{
"name": "sync-settings",
"version": "0.7.0"
},
{
"name": "tabs",
"version": "0.88.0"
},
{
"name": "tabs-to-spaces",
"version": "1.0.2"
},
{
"name": "term3",
"version": "0.21.2"
},
{
"name": "timecop",
"version": "0.33.0"
},
{
"name": "tree-view",
"version": "0.198.1"
},
{
"name": "turbo-javascript",
"version": "1.4.0"
},
{
"name": "unsaved-changes",
"version": "0.1.0"
},
{
"name": "update-package-dependencies",
"version": "0.10.0"
},
{
"name": "welcome",
"version": "0.33.0"
},
{
"name": "whitespace",
"version": "0.32.1"
},
{
"name": "wrap-guide",
"version": "0.38.1"
}
]
{
"atom-pair": {},
"atom-typescript": {},
"core": {},
"editor": {
"invisibles": {},
"preferredLineLength": 120
},
"ember-cli-helper": {},
"emmet": {},
"exception-reporting": {
"userId": "d6976240-c6bb-d2cf-d8de-86751623679c"
},
"fuzzy-finder": {},
"git-blame": {},
"git-diff": {
"showIconsInEditorGutter": true
},
"git-log": {},
"git-plus": {},
"git-status": {},
"hipchat-chat": {},
"jumpy": {},
"linter": {
"errorPanelHeight": 78
},
"linter-erb": {},
"linter-jscs": {
"esnext": true,
"fixOnSave": true
},
"markdown-pdf": {},
"markdown-themeable-pdf": {},
"markdown-writer": {},
"metrics": {
"userId": "c24c580a0a048c529f82a77e6495775793c22702"
},
"minimap": {
"plugins": {
"git-diff": true,
"git-diffDecorationsZIndex": 0
}
},
"one-dark-ui": {},
"open-recent": {},
"pigments": {},
"smart-tab-name": {},
"sync-settings": {},
"term3": {
"colors": {
"background": {
"red": 33,
"green": 37,
"blue": 43,
"alpha": 1
}
},
"fontFamily": "Inconsolata for Powerline"
},
"welcome": {
"showOnStartup": false
}
}
# 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'
#
/*
* 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 {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment