Skip to content

Instantly share code, notes, and snippets.

@bfillmer
Last active August 9, 2020 18:48
Show Gist options
  • Save bfillmer/90f1f629efbb2716517b to your computer and use it in GitHub Desktop.
Save bfillmer/90f1f629efbb2716517b 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 log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# console.log "Saved! #{editor.getPath()}"
# 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:
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
[
{
"name": "about",
"version": "1.9.1"
},
{
"name": "apex-syntax",
"version": "0.2.0",
"theme": "syntax"
},
{
"name": "apex-ui",
"version": "1.2.0",
"theme": "ui"
},
{
"name": "archive-view",
"version": "0.65.1"
},
{
"name": "atom-dark-syntax",
"version": "0.29.1",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.3",
"theme": "ui"
},
{
"name": "atom-light-syntax",
"version": "0.29.1",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.3",
"theme": "ui"
},
{
"name": "auto-detect-indentation",
"version": "1.3.0"
},
{
"name": "auto-update-packages",
"version": "1.0.1"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.7"
},
{
"name": "autocomplete-css",
"version": "0.17.5"
},
{
"name": "autocomplete-html",
"version": "0.8.8"
},
{
"name": "autocomplete-plus",
"version": "2.42.0"
},
{
"name": "autocomplete-snippets",
"version": "1.12.0"
},
{
"name": "autoflow",
"version": "0.29.4"
},
{
"name": "autosave",
"version": "0.24.6"
},
{
"name": "background-tips",
"version": "0.28.0"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.6.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.6.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.45.1"
},
{
"name": "bracket-matcher",
"version": "0.90.4"
},
{
"name": "command-palette",
"version": "0.43.5"
},
{
"name": "dalek",
"version": "0.2.2"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.48.1"
},
{
"name": "docblockr",
"version": "0.13.7"
},
{
"name": "encoding-selector",
"version": "0.23.9"
},
{
"name": "exception-reporting",
"version": "0.43.1"
},
{
"name": "file-icons",
"version": "2.1.31"
},
{
"name": "find-and-replace",
"version": "0.215.14"
},
{
"name": "fuzzy-finder",
"version": "1.8.2"
},
{
"name": "git-blame",
"version": "1.8.0"
},
{
"name": "git-diff",
"version": "1.3.9"
},
{
"name": "github",
"version": "0.24.0"
},
{
"name": "go-to-line",
"version": "0.33.0"
},
{
"name": "grammar-selector",
"version": "0.50.1"
},
{
"name": "highlight-selected",
"version": "0.16.0"
},
{
"name": "image-view",
"version": "0.63.1"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "keybinding-resolver",
"version": "0.38.4"
},
{
"name": "language-babel",
"version": "2.85.0"
},
{
"name": "language-c",
"version": "0.60.14"
},
{
"name": "language-clojure",
"version": "0.22.7"
},
{
"name": "language-coffee-script",
"version": "0.49.3"
},
{
"name": "language-csharp",
"version": "1.1.0"
},
{
"name": "language-css",
"version": "0.43.0"
},
{
"name": "language-gfm",
"version": "0.90.6"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.46.6"
},
{
"name": "language-html",
"version": "0.51.5"
},
{
"name": "language-hyperlink",
"version": "0.17.0"
},
{
"name": "language-java",
"version": "0.31.1"
},
{
"name": "language-javascript",
"version": "0.129.19"
},
{
"name": "language-json",
"version": "0.19.2"
},
{
"name": "language-less",
"version": "0.34.3"
},
{
"name": "language-make",
"version": "0.23.0"
},
{
"name": "language-mustache",
"version": "0.14.5"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.38.1"
},
{
"name": "language-php",
"version": "0.44.1"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.51.9"
},
{
"name": "language-ruby",
"version": "0.72.14"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.3"
},
{
"name": "language-rust-bundled",
"version": "0.1.0"
},
{
"name": "language-sass",
"version": "0.62.0"
},
{
"name": "language-shellscript",
"version": "0.27.9"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.10"
},
{
"name": "language-text",
"version": "0.7.4"
},
{
"name": "language-todo",
"version": "0.29.4"
},
{
"name": "language-toml",
"version": "0.18.2"
},
{
"name": "language-typescript",
"version": "0.4.11"
},
{
"name": "language-xml",
"version": "0.35.3"
},
{
"name": "language-yaml",
"version": "0.32.0"
},
{
"name": "line-ending-selector",
"version": "0.7.7"
},
{
"name": "link",
"version": "0.31.6"
},
{
"name": "linter",
"version": "2.3.0"
},
{
"name": "linter-eslint",
"version": "8.5.2"
},
{
"name": "linter-ui-default",
"version": "1.7.1"
},
{
"name": "markdown-preview",
"version": "0.159.25"
},
{
"name": "metrics",
"version": "1.6.2"
},
{
"name": "notifications",
"version": "0.70.5"
},
{
"name": "one-dark-syntax",
"version": "1.8.4",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.12.5",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.8.4",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.12.5",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "1.3.1"
},
{
"name": "package-generator",
"version": "1.3.0"
},
{
"name": "settings-view",
"version": "0.260.1"
},
{
"name": "snippets",
"version": "1.4.0"
},
{
"name": "solarized-dark-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.74.2"
},
{
"name": "status-bar",
"version": "1.8.16"
},
{
"name": "styleguide",
"version": "0.49.12"
},
{
"name": "symbols-view",
"version": "0.118.2"
},
{
"name": "sync-settings",
"version": "0.8.6"
},
{
"name": "tabs",
"version": "0.109.2"
},
{
"name": "timecop",
"version": "0.36.2"
},
{
"name": "tone-syntax",
"version": "0.2.2",
"theme": "syntax"
},
{
"name": "tree-view",
"version": "0.224.5"
},
{
"name": "update-package-dependencies",
"version": "0.13.1"
},
{
"name": "welcome",
"version": "0.36.7"
},
{
"name": "whitespace",
"version": "0.37.7"
},
{
"name": "wrap-guide",
"version": "0.40.3"
},
{
"name": "xi-ui",
"version": "0.2.3",
"theme": "ui"
}
]
{
"atom-beautify": {
"_analyticsUserId": "971b80d0-38c9-4651-907a-7d0f95d9f146"
},
"atom-material-ui": {
"colors": {
"abaseColor": "#ec407a",
"accentColor": "#46ffc1",
"genAccent": true,
"paintCursor": true,
"predefinedColor": "Pink"
},
"tabs": {
"compactTabs": true
},
"ui": {}
},
"bracket-matcher": {
"alwaysSkipClosingPairs": true
},
"core": {
"audioBeep": false,
"closeDeletedFileTabs": true,
"customFileTypes": {
"source.js.jsx": [
"js"
]
},
"disabledPackages": [
"welcome",
"pigments",
"spell-check",
"autocomplete-css",
"autocomplete-html",
"autocomplete-snippets",
"deprecation-cop",
"open-on-github",
"background-tips",
"language-c",
"language-coffee-script",
"language-csharp",
"language-java",
"language-objective-c",
"language-perl",
"language-toml",
"linter-clojure",
"prettier-atom",
"teletype",
"linter-json-lint",
"github",
"language-javascript",
"autocomplete-atom-api",
"autocomplete-plus",
"language-clojure",
"language-go",
"language-less",
"language-make",
"language-mustache",
"language-php",
"language-property-list",
"language-python",
"language-ruby-on-rails",
"language-ruby",
"language-rust-bundled",
"language-sass",
"wrap-guide",
"autosave",
"bookmarks",
"autoflow"
],
"openEmptyEditorOnStart": false,
"projectHome": "/Users/bfillmer/code",
"telemetryConsent": "limited",
"themes": [
"apex-ui",
"tone-syntax"
],
"titleBar": "hidden"
},
"editor": {
"fontFamily": "Dank Mono",
"lineHeight": 2.25,
"preferredLineLength": 100,
"scrollPastEnd": true
},
"exception-reporting": {
"userId": "c0e72956-7c06-f9f3-fa88-1b33e6d701dd"
},
"file-icons": {
"onChanges": true,
"tabPaneIcon": false
},
"find-and-replace": {
"closeFindPanelAfterSearch": true
},
"flow-ide": {
"executablePath": "/usr/local/bin/flow"
},
"git-blame": {
"columnWidth": 272
},
"git-diff": {},
"highlight-selected": {
"showInStatusBar": false
},
"jshint": {
"onlyConfig": true,
"supportLintingJsx": true
},
"language-babel": {},
"linter-eslint": {
"global": {
"globalNodePath": "/usr/local"
}
},
"linter-flow": {
"executablePath": "yarn flow"
},
"linter-js-standard": {
"checkStyleDevDependencies": true,
"showEslintRules": true
},
"linter-jshint": {
"disableWhenNoJshintrcFileInPath": true,
"lintJSXFiles": true
},
"linter-ui-default": {
"alwaysTakeMinimumSpace": true,
"decorateOnTreeView": "None",
"panelHeight": 243,
"showDecorations": false,
"showPanel": true,
"showStatusBar": false,
"showTooltip": false,
"useBusySignal": false
},
"merge-conflicts": {
"gitPath": "/usr/bin/git"
},
"nord-atom-ui": {
"tabSizing": false
},
"prettier-atom": {
"formatOnSaveOptions": {
"isDisabledIfNoConfigFile": true,
"showInStatusBar": true
}
},
"swackets": {
"colorParens": true,
"colorSquareBrackets": true
},
"sync-settings": {},
"tabs": {
"usePreviewTabs": true
},
"tone-syntax": {
"color": {
"bg": "#ffffff",
"duo": "#929292",
"syncUI": false,
"tri": "#424242",
"uno": "#000000"
}
},
"tool-bar": {
"iconSize": "16px",
"position": "Right"
},
"tree-view": {
"alwaysOpenExisting": 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'
#
# 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:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
'.source.js':
'TH':
'prefix': 'th',
'body': '<TH>$1</TH>$2'
'Jest Global Definitions':
'prefix': 'glob',
'body': '/* global describe, expect, test */\n\n'
'Jest Describe Block':
'prefix': 'desc',
'body': 'describe(\'$1\', () => {\n\t$2\n})'
'Jest Test Block':
'prefix': 'jest',
'body': 'test(\'$1\', () => {\n\tconst expected = true\n\tconst actual = false\n\texpect(actual).toEqual(expected)\n})'
'Console Log Variable':
'prefix': 'cl',
'body': 'console.log(\'$1\', $1)'
// Hide scrollbars at all times.
::-webkit-scrollbar {
display: none;
}
// Global font smoothing for a better experience.
atom-workspace, atom-panel {
-webkit-font-smoothing: subpixel-antialiased;
}
// CSS-in-JS Properties in Bold
.syntax--inside-js.syntax--css.syntax--styled .syntax--property-name {
font-weight: bold;
}
.wrap-guide {
display: none !important;
}
// Kill the unnnecessary tabs in the bottom dock.
atom-dock.bottom .tab-bar {
display: none;
}
.list-group,
.list-tree {
li:not(.list-nested-item),
li.list-nested-item > .list-item {
color: @text-color;
}
.generate-list-item-status-color(@color, @status) {
li:not(.list-nested-item).status-@{status},
li.list-nested-item.status-@{status} > .list-item {
color: @color;
}
li:not(.list-nested-item).selected.status-@{status},
li.list-nested-item.selected.status-@{status} > .list-item {
color: @color;
}
}
.generate-list-item-status-color(@text-color-success, added);
.generate-list-item-status-color(@text-color-subtle, ignored);
.generate-list-item-status-color(@text-color-warning, modified);
.generate-list-item-status-color(@text-color-error, removed);
.generate-list-item-status-color(@text-color-info, renamed);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment