Skip to content

Instantly share code, notes, and snippets.

@bradonomics
Last active January 29, 2022 17:15
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 bradonomics/cc4c80f1849a1e0ec669e24271e4a8fd to your computer and use it in GitHub Desktop.
Save bradonomics/cc4c80f1849a1e0ec669e24271e4a8fd to your computer and use it in GitHub Desktop.
Atom Settings Backup by https://atom.io/packages/sync-settings
# 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
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on OS X and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * https://atom.io/docs/latest/hacking-atom-debugging#check-the-keybindings
#
# 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
#'atom-text-editor:not([mini])':
# 'tab': 'emmet:expand-abbreviation-with-tab'
{
"about": {
"version": "1.9.1"
},
"archive-view": {
"version": "0.66.0"
},
"atom-beautify": {
"version": "0.33.4"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"atom-liquid-snippets": {
"version": "0.3.0"
},
"atom-wrap-in-tag": {
"version": "0.6.0"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-plus": {
"version": "2.42.4"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"background-tips": {
"version": "0.28.0"
},
"base16-tomorrow-dark-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"base16-tomorrow-light-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"bookmarks": {
"version": "0.46.0"
},
"bracket-matcher": {
"version": "0.92.0"
},
"busy-signal": {
"version": "2.0.1"
},
"command-palette": {
"version": "0.43.5"
},
"dalek": {
"version": "0.2.2"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"encoding-selector": {
"version": "0.23.9"
},
"exception-reporting": {
"version": "0.43.1"
},
"file-type-icons": {
"version": "1.3.4"
},
"find-and-replace": {
"version": "0.219.8"
},
"fuzzy-finder": {
"version": "1.14.3"
},
"git-diff": {
"version": "1.3.9"
},
"github": {
"version": "0.36.9"
},
"go-to-line": {
"version": "0.33.0"
},
"grammar-selector": {
"version": "0.50.1"
},
"highlight-selected": {
"version": "0.17.0"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"intentions": {
"version": "2.1.1"
},
"keybinding-resolver": {
"version": "0.39.0"
},
"language-c": {
"version": "0.60.19"
},
"language-clojure": {
"version": "0.22.8"
},
"language-coffee-script": {
"version": "0.50.0"
},
"language-csharp": {
"version": "1.1.0"
},
"language-css": {
"version": "0.44.4"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-go": {
"version": "0.47.2"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-java": {
"version": "0.32.1"
},
"language-javascript": {
"version": "0.134.1"
},
"language-json": {
"version": "1.0.5"
},
"language-less": {
"version": "0.34.3"
},
"language-liquid": {
"version": "0.7.0"
},
"language-make": {
"version": "0.23.0"
},
"language-mustache": {
"version": "0.14.5"
},
"language-objective-c": {
"version": "0.16.0"
},
"language-perl": {
"version": "0.38.1"
},
"language-php": {
"version": "0.47.0"
},
"language-property-list": {
"version": "0.9.1"
},
"language-python": {
"version": "0.53.6"
},
"language-ruby": {
"version": "0.72.23"
},
"language-ruby-on-rails": {
"version": "0.25.3"
},
"language-rust-bundled": {
"version": "0.1.0"
},
"language-sass": {
"version": "0.62.1"
},
"language-shellscript": {
"version": "0.28.2"
},
"language-source": {
"version": "0.9.0"
},
"language-sql": {
"version": "0.25.10"
},
"language-text": {
"version": "0.7.4"
},
"language-todo": {
"version": "0.29.4"
},
"language-toml": {
"version": "0.20.0"
},
"language-typescript": {
"version": "0.6.3"
},
"language-xml": {
"version": "0.35.3"
},
"language-yaml": {
"version": "0.32.0"
},
"line-ending-selector": {
"version": "0.7.7"
},
"link": {
"version": "0.31.6"
},
"linter": {
"version": "3.4.0"
},
"linter-jshint": {
"version": "3.1.19"
},
"linter-jsonlint": {
"version": "1.4.0"
},
"linter-ruby": {
"version": "1.3.1"
},
"linter-sass-lint": {
"version": "1.9.0"
},
"linter-shellcheck": {
"version": "1.6.0"
},
"linter-ui-default": {
"version": "3.4.1"
},
"markdown-preview": {
"version": "0.160.2"
},
"metrics": {
"version": "1.8.1"
},
"notifications": {
"version": "0.71.0"
},
"one-dark-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-dark-ui": {
"version": "1.12.5",
"theme": "ui"
},
"one-light-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-light-ui": {
"version": "1.12.5",
"theme": "ui"
},
"open-on-github": {
"version": "1.3.2"
},
"package-generator": {
"version": "1.3.0"
},
"pigments": {
"version": "0.40.6"
},
"rails-snippets": {
"version": "2.26.0"
},
"ruby-solargraph": {
"version": "0.6.1"
},
"script": {
"version": "3.32.2"
},
"scroll-sync": {
"version": "0.2.4"
},
"settings-view": {
"version": "0.261.8"
},
"slime": {
"version": "2.4.0",
"theme": "syntax"
},
"snippets": {
"version": "1.5.1"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"spell-check": {
"version": "0.77.1"
},
"status-bar": {
"version": "1.8.17"
},
"status-bar-blame": {
"version": "2.0.3"
},
"styleguide": {
"version": "0.49.12"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.15"
},
"tabs": {
"version": "0.110.0"
},
"timecop": {
"version": "0.36.2"
},
"todo-show": {
"version": "2.3.2"
},
"tree-view": {
"version": "0.228.3"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.8"
},
"wrap-guide": {
"version": "0.41.0"
}
}
files:
include:
- '**/*.scss'
options:
formatter: stylish
merge-default-rules: false
rules:
# Extends
extends-before-mixins: 1
extends-before-declarations: 1
placeholder-in-extend: 0
# Mixins
mixins-before-declarations: 1
mixin-name-format:
- 1
- allow-leading-underscore: true
convention: hyphenatedlowercase
bem-depth:
- 0
- max-depth: 1
border-zero:
- 1
- convention: zero
brace-style:
- 0
- allow-single-line: true
class-name-format:
- 0
- convention: hyphenatedlowercase
clean-import-paths:
- 1
- filename-extension: false
leading-underscore: false
empty-line-between-blocks:
- 0
- ignore-single-line-rulesets: true
final-newline:
- 1
- include: true
force-attribute-nesting: 0
force-element-nesting: 0
force-pseudo-nesting: 0
function-name-format:
- 1
- allow-leading-underscore: true
convention: hyphenatedlowercase
hex-length:
- 1
- style: short
hex-notation:
- 1
- style: lowercase
id-name-format:
- 0
- convention: hyphenatedlowercase
indentation:
- 1
- size: 2
leading-zero:
- 1
- include: false
nesting-depth:
- 1
- max-depth: 4
no-color-keywords: 1
no-color-literals: 0
no-css-comments: 1
no-debug: 1
no-duplicate-properties: 1
no-empty-rulesets: 1
no-extends: 0
no-ids: 1
no-important: 0
no-invalid-hex: 1
no-mergeable-selectors: 0
no-misspelled-properties:
- 1
- extra-properties: []
no-qualifying-elements:
- 1
- allow-element-with-attribute: false
allow-element-with-class: false
allow-element-with-id: false
no-trailing-zero: 1
no-transition-all: 0
no-url-protocols: 1
no-vendor-prefixes:
- 1
- additional-identifiers: []
excluded-identifiers: []
placeholder-name-format:
- 0
- convention: hyphenatedlowercase
property-sort-order:
- 1
- ignore-custom-properties: false
# Concentric order based on: https://github.com/brandon-rhodes/Concentric-CSS/blob/master/style3.css
order:
# box-sizing
- 'box-sizing'
# position
- 'display'
- 'position'
- 'top'
- 'right'
- 'bottom'
- 'left'
- 'float'
- 'clear'
# flex
- 'flex'
- 'flex-basis'
- 'flex-direction'
- 'flex-flow'
- 'flex-grow'
- 'flex-shrink'
- 'flex-wrap'
- 'justify-content'
# grid
- 'grid'
- 'grid-area'
- 'grid-template'
- 'grid-template-areas'
- 'grid-template-rows'
- 'grid-template-columns'
- 'grid-column'
- 'grid-column-start'
- 'grid-column-end'
- 'grid-row'
- 'grid-row-start'
- 'grid-row-end'
- 'grid-auto-rows'
- 'grid-auto-columns'
- 'grid-auto-flow'
- 'grid-gap'
- 'grid-row-gap'
- 'grid-column-gap'
# align-content
- 'align-content'
- 'align-items'
- 'align-self'
# justify-content
- 'justify-content'
- 'justify-items'
- 'justify-self'
# order
- 'order'
# columns
- 'columns'
- 'column-gap'
- 'column-fill'
- 'column-rule'
- 'column-rule-width'
- 'column-rule-style'
- 'column-rule-color'
- 'column-span'
- 'column-count'
- 'column-width'
# transform
- 'backface-visibility'
- 'perspective'
- 'perspective-origin'
- 'transform'
- 'transform-origin'
- 'transform-style'
# transition
- 'transition'
- 'transition-delay'
- 'transition-duration'
- 'transition-property'
- 'transition-timing-function'
# visibility
- 'visibility'
- 'opacity'
- 'z-index'
# margin
- 'margin'
- 'margin-top'
- 'margin-right'
- 'margin-bottom'
- 'margin-left'
# outline
- 'outline'
- 'outline-offset'
- 'outline-width'
- 'outline-style'
- 'outline-color'
# width
- 'width'
- 'min-width'
- 'max-width'
# height
- 'height'
- 'min-height'
- 'max-height'
# border
- 'border'
- 'border-top'
- 'border-right'
- 'border-bottom'
- 'border-left'
- 'border-width'
- 'border-top-width'
- 'border-right-width'
- 'border-bottom-width'
- 'border-left-width'
# border-style
- 'border-style'
- 'border-top-style'
- 'border-right-style'
- 'border-bottom-style'
- 'border-left-style'
# border-radius
- 'border-radius'
- 'border-top-left-radius'
- 'border-top-right-radius'
- 'border-bottom-left-radius'
- 'border-bottom-right-radius'
# border-color
- 'border-color'
- 'border-top-color'
- 'border-right-color'
- 'border-bottom-color'
- 'border-left-color'
# border-image
- 'border-image'
- 'border-image-source'
- 'border-image-width'
- 'border-image-outset'
- 'border-image-repeat'
- 'border-image-slice'
# box-shadow
- 'box-shadow'
# background
- 'background'
- 'background-attachment'
- 'background-clip'
- 'background-color'
- 'background-image'
- 'background-repeat'
- 'background-position'
- 'background-size'
# cursor
- 'cursor'
# padding
- 'padding'
- 'padding-top'
- 'padding-right'
- 'padding-bottom'
- 'padding-left'
# overflow
- 'overflow'
- 'overflow-x'
- 'overflow-y'
- 'resize'
# list-style
- 'list-style'
- 'list-style-type'
- 'list-style-position'
- 'list-style-image'
- 'caption-side'
# tables
- 'table-layout'
- 'border-collapse'
- 'border-spacing'
- 'empty-cells'
# animation
- 'animation'
- 'animation-name'
- 'animation-duration'
- 'animation-timing-function'
- 'animation-delay'
- 'animation-iteration-count'
- 'animation-direction'
- 'animation-fill-mode'
- 'animation-play-state'
# vertical-alignment
- 'vertical-align'
# text-alignment and decoration
- 'direction'
- 'tab-size'
- 'text-align'
- 'text-align-last'
- 'text-justify'
- 'text-indent'
- 'text-transform'
- 'text-decoration'
- 'text-decoration-color'
- 'text-decoration-line'
- 'text-decoration-style'
- 'text-rendering'
- 'text-shadow'
- 'text-overflow'
# text-spacing
- 'line-height'
- 'word-spacing'
- 'letter-spacing'
- 'white-space'
- 'word-break'
- 'word-wrap'
- 'color'
# font
- 'font'
- 'font-family'
- 'font-size'
- 'font-size-adjust'
- 'font-stretch'
- 'font-weight'
- 'font-smoothing'
- 'osx-font-smoothing'
- 'font-variant'
- 'font-style'
# content
- 'content'
- 'quotes'
# counters
- 'counter-reset'
- 'counter-increment'
# breaks
- 'page-break-before'
- 'page-break-after'
- 'page-break-inside'
property-units:
- 1
- global:
- ch
- em
- ex
- rem
- cm
- in
- mm
- pc
- pt
- px
- q
- vh
- vw
- vmin
- vmax
- deg
- grad
- rad
- turn
- ms
- s
- Hz
- kHz
- dpi
- dpcm
- dppx
- '%'
per-property: {}
quotes:
- 1
- style: single
shorthand-values:
- 1
- allowed-shorthands:
- 1
- 2
- 3
- 4
single-line-per-selector: 0
space-after-bang:
- 1
- include: false
space-after-colon: 1
space-after-comma:
- 0
- include: true
space-before-bang:
- 1
- include: true
space-before-brace:
- 1
- include: true
space-before-colon: 1
space-between-parens:
- 1
- include: false
trailing-semicolon: 1
url-quotes: 1
variable-for-property:
- 0
- properties: []
variable-name-format:
- 1
- allow-leading-underscore: true
convention: hyphenatedlowercase
zero-unit: 1
{
"*": {
"atom-beautify": {
"css": {
"convert_quotes": "single",
"end_with_newline": true,
"no_lead_zero": true,
"selector_separator_newline": true
},
"executables": {
"php-cs-fixer": {
"path": "/usr/local/bin/php-cs-fixer"
}
},
"general": {
"_analyticsUserId": "f1742c73-6365-4345-972d-774045689a6e",
"analytics": false,
"beautifyEntireFileOnSave": false
},
"html": {
"end_with_newline": true,
"max_preserve_newlines": 1,
"wrap_line_length": 0
},
"js": {
"end_with_newline": true,
"max_preserve_newlines": 2
},
"json": {
"end_with_newline": true,
"preserve_newlines": false
},
"scss": {
"convert_quotes": "single",
"no_lead_zero": true
}
},
"autocomplete-plus": {
"fileBlacklist": [
"*.html"
]
},
"autocomplete-python": {
"useKite": false
},
"autoprefixer": {
"browsers": [
"> 5% in US",
"last 2 versions",
"Firefox ESR"
]
},
"better-git-blame": {
"searchInLayerEnabled": false
},
"bracket-colorizer": {
"alternate_consecutive": true,
"alternate_different": true,
"ignored_files": [
"*.md",
".*",
"*.rb",
"*.erb",
"*.html"
]
},
"core": {
"autoHideMenuBar": true,
"customFileTypes": {
"text.html.liquid": [
"html"
]
},
"disabledPackages": [
"background-tips",
"language-clojure",
"language-coffee-script",
"language-csharp",
"language-go",
"language-java",
"language-less",
"language-make",
"language-objective-c",
"welcome",
"language-toml",
"language-property-list",
"language-perl",
"language-c",
"about",
"archive-view",
"bookmarks",
"dev-live-reload",
"encoding-selector",
"language-sql",
"language-source",
"language-text",
"markdown-preview",
"autocomplete-snippets",
"open-on-github",
"language-mustache",
"language-rust-bundled",
"language-typescript",
"language-python",
"language-php",
"linter-ruby",
"spell-check"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
"desktop.ini",
".sass-cache",
".jekyll-cache"
],
"packagesWithSnippetsDisabled": [
"language-liquid"
],
"projectHome": "/home/brad/projects",
"telemetryConsent": "limited",
"themes": [
"one-dark-ui",
"slime"
]
},
"dark-flat-ui": {
"accentColor": "blue"
},
"editor": {
"fontFamily": "Oxygen Mono",
"fontSize": 21,
"lineHeight": 1.8,
"scrollPastEnd": true,
"showIndentGuide": true,
"softWrap": true,
"tabType": "soft",
"zoomFontWhenCtrlScrolling": false
},
"exception-reporting": {
"userId": "46cabd80-8079-7e20-1518-c303a3179388"
},
"git-plus": {
"general": {
"_analyticsUserId": "7dba59d2-382b-4206-9be3-55ea85e97ee2"
}
},
"linter-jshint": {
"lintInlineJavaScript": true
},
"linter-php": {
"executablePath": "/usr/bin/php"
},
"linter-sass-lint": {
"configFile": "/home/brad/.atom/sass-lint.yml"
},
"linter-ui-default": {
"decorateOnTreeView": "None",
"panelHeight": 69,
"statusBarRepresents": "Current File"
},
"one-dark-ui": {
"fontSize": 20
},
"prettier-atom": {
"prettierOptions": {
"singleQuote": true
}
},
"quick-editor": {
"stylesDirectory": "_sass"
},
"script": {
"enableExecTime": false
},
"sync-settings": {
"autoCheckForUpdatedBackup": "no",
"extraFiles": [
"sass-lint.yml"
],
"hiddenSettings": {},
"installLatestVersion": true,
"quietUpdateCheck": true
},
"todo-show": {
"ignoreThesePaths": [
"**/node_modules/",
"**/vendor/",
"**/bower_components/",
"**/_site/"
]
},
"tree-view": {
"hideIgnoredNames": 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
# Add extra liquid snippets (https://github.com/rickmurt/atom-liquid-snippets)
'.text.html.liquid':
'Liquid if / elseif':
'prefix': 'ife'
'body': """
{% if ${1} %}
${2}
{% elsif ${3} %}
${4}
{% endif %}
"""
'Liquid if (inline)':
'prefix': 'ifin'
'body': '{% if ${1} %}${2}{% endif %}'
'.source.ruby, .source.ruby.rails':
'Require Relative':
'prefix': 'rr'
'body': 'require_relative \'${1}\''
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
atom-text-editor.editor pigments-color-marker.syntax--dot,
pigments-color-marker.dot {
transform: translate(0, -50%) scale(.7);
}
[theme-one-dark-ui-tabsizing="auto"] .tab,
[theme-one-dark-ui-tabsizing="auto"] .tab.active {
flex: 1;
}
.atom-dock-toggle-button {
display: none;
}
atom-text-editor .lines {
background-color: #21252b;
}
atom-text-editor .line.cursor-line {
background-color: inherit;
}
.panel-heading {
font-size: inherit;
}
pre {
font-size: inherit;
font-family: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment