Skip to content

Instantly share code, notes, and snippets.

@jesperronn
Last active November 16, 2016 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesperronn/57810888ae6038a3533e to your computer and use it in GitHub Desktop.
Save jesperronn/57810888ae6038a3533e 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'
#
'body':
#this trick is from https://github.com/atom/atom/issues/6082#issuecomment-196381781
'cmd-q': 'core:save'
'cmd-q cmd-q': 'application:quit'
[
{
"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-grails",
"version": "0.1.0"
},
{
"name": "atom-jasmine",
"version": "0.8.1"
},
{
"name": "atom-light-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.43.0",
"theme": "ui"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.0"
},
{
"name": "autocomplete-css",
"version": "0.11.0"
},
{
"name": "autocomplete-html",
"version": "0.7.2"
},
{
"name": "autocomplete-plus",
"version": "2.25.0"
},
{
"name": "autocomplete-snippets",
"version": "1.10.0"
},
{
"name": "autoflow",
"version": "0.27.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.2"
},
{
"name": "bracket-matcher",
"version": "0.79.0"
},
{
"name": "color-picker",
"version": "2.1.1"
},
{
"name": "command-logger",
"version": "0.23.0"
},
{
"name": "command-palette",
"version": "0.38.0"
},
{
"name": "cucumber",
"version": "0.5.0"
},
{
"name": "deprecation-cop",
"version": "0.54.0"
},
{
"name": "dev-live-reload",
"version": "0.47.0"
},
{
"name": "editorconfig",
"version": "1.2.4"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "encoding-selector",
"version": "0.21.0"
},
{
"name": "erb-helper",
"version": "1.0.1"
},
{
"name": "exception-reporting",
"version": "0.37.0"
},
{
"name": "find-and-replace",
"version": "0.197.4"
},
{
"name": "fixmyjs",
"version": "1.3.4"
},
{
"name": "fuzzy-finder",
"version": "0.94.0"
},
{
"name": "git-diff",
"version": "0.57.0"
},
{
"name": "go-to-line",
"version": "0.30.0"
},
{
"name": "grammar-selector",
"version": "0.48.0"
},
{
"name": "image-view",
"version": "0.56.0"
},
{
"name": "incompatible-packages",
"version": "0.25.0"
},
{
"name": "keybinding-resolver",
"version": "0.33.0"
},
{
"name": "language-c",
"version": "0.51.1"
},
{
"name": "language-coffee-script",
"version": "0.46.0"
},
{
"name": "language-css",
"version": "0.36.0"
},
{
"name": "language-gfm",
"version": "0.84.0"
},
{
"name": "language-git",
"version": "0.12.1"
},
{
"name": "language-groovy",
"version": "0.6.0"
},
{
"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.110.0"
},
{
"name": "language-json",
"version": "0.17.4"
},
{
"name": "language-less",
"version": "0.29.0"
},
{
"name": "language-make",
"version": "0.21.0"
},
{
"name": "language-mustache",
"version": "0.13.0"
},
{
"name": "language-php",
"version": "0.37.0"
},
{
"name": "language-property-list",
"version": "0.8.0"
},
{
"name": "language-python",
"version": "0.43.0"
},
{
"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.1"
},
{
"name": "line-ending-converter",
"version": "1.3.2"
},
{
"name": "line-ending-selector",
"version": "0.3.0"
},
{
"name": "link",
"version": "0.31.0"
},
{
"name": "linter",
"version": "1.11.4"
},
{
"name": "linter-csslint",
"version": "1.3.2"
},
{
"name": "linter-js-yaml",
"version": "1.2.5"
},
{
"name": "linter-rubocop",
"version": "0.4.7"
},
{
"name": "linter-ruby",
"version": "1.2.2"
},
{
"name": "linter-scss-lint",
"version": "2.5.1"
},
{
"name": "linter-shellcheck",
"version": "1.1.0"
},
{
"name": "markdown-preview",
"version": "0.157.2"
},
{
"name": "markdown-scroll-sync",
"version": "2.1.2"
},
{
"name": "markdown-table-formatter",
"version": "2.8.0"
},
{
"name": "markdown-writer",
"version": "2.3.2"
},
{
"name": "metrics",
"version": "0.53.1"
},
{
"name": "minimap",
"version": "4.21.0"
},
{
"name": "monokai",
"version": "0.18.0",
"theme": "syntax"
},
{
"name": "notifications",
"version": "0.62.1"
},
{
"name": "one-dark-syntax",
"version": "1.2.0",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.1.9",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.2.0",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.1.9",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "0.41.0"
},
{
"name": "package-generator",
"version": "0.41.0"
},
{
"name": "pigments",
"version": "0.26.0"
},
{
"name": "pretty-json",
"version": "0.4.1"
},
{
"name": "rails-rspec",
"version": "0.3.2"
},
{
"name": "release-notes",
"version": "0.53.0"
},
{
"name": "seeing-is-believing",
"version": "1.7.0"
},
{
"name": "seti-syntax",
"version": "0.4.2",
"theme": "syntax"
},
{
"name": "seti-ui",
"version": "0.9.2",
"theme": "ui"
},
{
"name": "settings-view",
"version": "0.232.3"
},
{
"name": "snippets",
"version": "1.0.1"
},
{
"name": "solarized-dark-syntax",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "status-bar",
"version": "0.83.0"
},
{
"name": "styleguide",
"version": "0.45.1"
},
{
"name": "symbols-view",
"version": "0.110.1"
},
{
"name": "sync-settings",
"version": "0.7.2"
},
{
"name": "tabs",
"version": "0.91.3"
},
{
"name": "timecop",
"version": "0.33.0"
},
{
"name": "toggle-quotes",
"version": "1.0.0"
},
{
"name": "tree-view",
"version": "0.203.2"
},
{
"name": "update-package-dependencies",
"version": "0.10.0"
},
{
"name": "welcome",
"version": "0.33.0"
},
{
"name": "whitespace",
"version": "0.32.1"
},
{
"name": "wordcount",
"version": "2.6.0"
},
{
"name": "wrap-guide",
"version": "0.38.1"
},
{
"name": "xml-formatter",
"version": "0.10.0"
}
]
{
"_dartlang": {
"_errorsInitialized": true,
"_errorsInitialized2": true,
"_initialized": true,
"_initializedSymLinks": true,
"_version": "0.4.14"
},
"atom-beautify": {
"general": {
"_analyticsUserId": "6bd26546-a6ec-44f6-88e6-751a86ad2ea0"
}
},
"atom-color-highlight": {},
"atom-typescript": {},
"autocomplete-plus": {
"autoActivationDelay": 500
},
"color-picker": {
"preferredFormat": "HEX"
},
"core": {
"disabledPackages": [
"turbo-javascript",
"jsformat",
"language-clojure",
"language-csharp",
"language-go",
"language-objective-c",
"language-perl",
"atom-color-highlight",
"spell-check",
"linter-rubocop"
],
"ignoredNames": [
".git",
".DS_Store"
],
"projectHome": "/users/jesper/src/",
"telemetryConsent": "limited",
"themes": [
"one-light-ui",
"one-light-syntax"
]
},
"coverage": {
"coverageFilePath": "tmp/coverage/coverage.json"
},
"editor": {
"autoIndentOnPaste": false,
"invisibles": {},
"showInvisibles": true
},
"emmet": {},
"exception-reporting": {
"userId": "3bd8aa2f-957e-c631-d93f-0121d114c4e4"
},
"git-projects": {},
"jshint": {
"onlyConfig": true
},
"linter": {
"displayLinterInfo": false,
"showErrorPanel": false,
"subtleLinterErrors": [
"rubocop"
]
},
"linter-csslint": {},
"linter-eslint": {},
"linter-js-standard": {
"checkStyleDevDependencies": true,
"showEslintRules": true,
"style": "semi-standard"
},
"linter-rubocop": {
"command": "/Users/jesper/.rvm/gems/ruby-2.3.1/bin/bundle exec rubocop",
"disableWhenNoConfigFile": true
},
"linter-ruby": {
"rubyExecutablePath": "/Users/jesper/.rvm/bin/atom_ruby"
},
"linter-scss-lint": {
"disableWhenNoConfigFileInPath": true,
"executablePath": "/Users/jesper/.rvm/bin/atom_scss-lint"
},
"linter-shellcheck": {
"shellcheckExecutablePath": "/usr/local/bin/shellcheck"
},
"markdown-preview": {},
"markdown-table-formatter": {},
"markdown-writer": {
"siteImagesDir": "./"
},
"metrics": {
"userId": "ebe3e3e50a53903c3b60bcc2f5ea9f4fa9dc2ab3"
},
"minimap": {},
"pigments": {
"groupPaletteColors": "by file",
"markerType": "dot",
"sortPaletteColors": "by color",
"sourceNames": [
"**/*.css"
]
},
"rails-rspec": {},
"ruby-test": {
"testAllCommand": "bin/rake test",
"testFileCommand": " bin/rake TEST={relative_path}"
},
"seeing-is-believing": {
"ruby-command": "/Users/jesper/.rvm/bin/atom_ruby"
},
"seti-syntax": {
"themeColor": "Orange"
},
"seti-ui": {
"compactView": true
},
"spell-check": {},
"sync-settings": {
"quietUpdateCheck": true,
"syncPackages": false
},
"toggle-quotes": {},
"tree-view": {
"focusOnReveal": false,
"hideIgnoredNames": true,
"hideVcsIgnoredFiles": true,
"squashDirectoryNames": true
},
"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 {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment