Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@magicznyleszek
Last active April 3, 2022 06:51
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 magicznyleszek/0bb64da135d8a5d91d56eb5efc089c8f to your computer and use it in GitHub Desktop.
Save magicznyleszek/0bb64da135d8a5d91d56eb5efc089c8f 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 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:
#
# '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/customizing-atom#customizing-key-bindings
# * https://atom.io/docs/latest/advanced/keymaps
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
'atom-text-editor':
'cmd-ctrl-alt-r': 'editor:toggle-soft-wrap'
{
"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-typescript": {
"version": "14.4.0"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-jsdoc": {
"version": "0.0.2"
},
"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-syntax": {
"version": "1.8.1",
"theme": "syntax"
},
"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"
},
"css-color-name": {
"version": "0.4.0"
},
"dalek": {
"version": "0.2.2"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"docblockr": {
"version": "0.14.2"
},
"duotone-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"duotone-light-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"editorconfig": {
"version": "2.6.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"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"intentions": {
"version": "2.1.1"
},
"keybinding-resolver": {
"version": "0.39.1"
},
"language-babel": {
"version": "2.85.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.45.1"
},
"language-csv": {
"version": "1.1.2"
},
"language-docker": {
"version": "1.1.8"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-gitignore": {
"version": "0.3.0"
},
"language-go": {
"version": "0.47.2"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-ini": {
"version": "1.25.0"
},
"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-sphinx": {
"version": "0.1.9"
},
"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-vue": {
"version": "0.26.0"
},
"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-coffeelint": {
"version": "2.0.89"
},
"linter-eslint": {
"version": "9.0.0"
},
"linter-htmlhint": {
"version": "1.6.3"
},
"linter-stylelint": {
"version": "4.5.1"
},
"linter-ui-default": {
"version": "3.4.1"
},
"markdown-pdf": {
"version": "2.3.3"
},
"markdown-preview": {
"version": "0.160.2"
},
"metrics": {
"version": "1.8.1"
},
"monokai": {
"version": "0.28.0",
"theme": "syntax"
},
"night-day-theming": {
"version": "0.0.7"
},
"notifications": {
"version": "0.72.1"
},
"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"
},
"php-twig": {
"version": "4.0.0"
},
"prettier-atom": {
"version": "0.60.1"
},
"project-manager": {
"version": "3.3.8"
},
"quit-control": {
"version": "2.0.0"
},
"settings-view": {
"version": "0.261.8"
},
"snippets": {
"version": "1.5.1"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"sort-lines": {
"version": "0.19.0"
},
"spell-check": {
"version": "0.77.1"
},
"status-bar": {
"version": "1.8.17"
},
"string-case": {
"version": "0.1.0"
},
"styleguide": {
"version": "0.49.12"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.15"
},
"tabs": {
"version": "0.110.2"
},
"tabs-to-spaces": {
"version": "1.0.5"
},
"timecop": {
"version": "0.36.2"
},
"tree-view": {
"version": "0.229.1"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.8"
},
"wrap-guide": {
"version": "0.41.0"
}
}
{
"*": {
"atom-beautify": {
"css": {
"newline_between_rules": true,
"selector_separator_newline": true
},
"general": {
"_analyticsUserId": "a4ac4dfc-72d6-4e09-bcb0-8120239707f2",
"analytics": false,
"beautifyEntireFileOnSave": false
}
},
"atom-ide-ui": {
"atom-ide-outline-view": {
"nameOnly": true,
"searchEnabled": false
},
"use": {}
},
"atom-terminal": {
"app": "Hyper.app"
},
"atom-typescript": {},
"autocomplete-plus": {
"backspaceTriggersAutocomplete": true,
"confirmCompletion": "tab always, enter when suggestion explicitly selected",
"maxVisibleSuggestions": 5
},
"base16-syntax": {
"scheme": "Atelier Cave"
},
"busy-signal": {
"itemsToShowInHistory": 10
},
"character-table": {
"mnemonicAllowReversed": false
},
"clean-context-menu": {
"closePane": false,
"editorEdit": "submenu",
"editorEditHistory": "submenu",
"editorSplitPanes": "submenu",
"treeSplitPanes": "submenu",
"zOthers": {
"hide": "encoding-selector:show, github:view-staged-changes-for-current-file, github:view-unstaged-changes-for-current-file, atom-beautify:beautify-editor, atom-beautify:help-debug-editor",
"submenu": "copy-path:copy-line-reference, tabs-to-spaces:tabify, tabs-to-spaces:untabify, tabs-to-spaces:untabify-all"
}
},
"coffee-compile": {
"split": "Down"
},
"color-picker": {
"randomColor": false
},
"core": {
"audioBeep": false,
"closeDeletedFileTabs": true,
"closeEmptyWindows": false,
"customFileTypes": {
"text.ignore": [
".dockerignore"
]
},
"disabledPackages": [
"styleguide",
"background-tips",
"tabular",
"view-tail-large-files",
"welcome",
"package-generator",
"link",
"jsonlint",
"linter-sass-lint",
"whitespace",
"spell-check",
"linter-stylelint"
],
"ignoredNames": [
".git",
".DS_Store",
".Thumbs.db",
"node_modules",
".sass-cache",
"_site",
"*.pyc"
],
"packagesWithKeymapsDisabled": [
"compare-files",
"git-diff",
"svg-preview",
"git-time-machine",
"coffee-compile",
"open-in-browser",
"jekyll",
"open-terminal-here",
"change-case",
"character-table",
"night-day-theming",
"spell-check",
"git-blame",
"github",
"sort-lines",
"string-case"
],
"projectHome": "/Users/lpietrzak/Sites",
"restorePreviousWindowsOnStart": "no",
"telemetryConsent": "limited",
"themes": [
"one-dark-ui",
"base16-syntax"
],
"warnOnLargeFileLimit": 1
},
"docblockr": {
"align_tags": "shallow",
"lower_case_primitives": true,
"simple_mode": true,
"spacer_between_sections": "true"
},
"duotone-dark-syntax": {
"color": {
"duo": "#ff91a9",
"uno": "#8999ff"
}
},
"duotone-light-syntax": {
"color": {
"duo": "#ff5e81",
"uno": "#576eff"
}
},
"editor": {
"autoIndentOnPaste": false,
"backUpBeforeSaving": true,
"fontFamily": "Input, Source Code Pro, monospace",
"showInvisibles": true,
"softWrap": true,
"useShadowDOM": true
},
"exception-reporting": {
"userId": "c8a4afd3-5be4-3e6a-25c9-2190b21973d4"
},
"fuzzy-finder": {
"scoringSystem": "fast"
},
"git-blame": {
"colorCommitAuthors": true,
"columnWidth": 320
},
"git-diff": {
"showIconsInEditorGutter": true
},
"github": {},
"go-plus": {
"format": {
"tool": "gofmt"
}
},
"jsonlint": {
"validateOnChange": true,
"validateOnSave": false
},
"language-babel": {
"babelMapsAddUrl": false
},
"language-log": {
"showFilterBar": false
},
"linter": {
"lintOnEditorFocus": true
},
"linter-coffeelint": {
"disableIfNoConfig": true
},
"linter-eslint": {
"advanced": {
"disableFSCache": true
},
"scopes": [
"source.ts",
"source.tsx",
"typescript",
"source.js",
"source.jsx",
"source.js.jsx",
"source.babel",
"source.js-semantic",
"source.es6"
]
},
"linter-htmlhint": {
"disableWhenNoHtmlhintConfig": false
},
"linter-sass-lint": {
"noConfigDisable": true
},
"linter-stylelint": {
"disableWhenNoConfig": true
},
"linter-ui-default": {
"alwaysTakeMinimumSpace": true,
"showPanel": true
},
"linter-write-good": {
"additionalArgs": "--no-passive",
"severityLevel": "Info"
},
"markdown-preview": {
"breakOnSingleNewline": true
},
"night-day-theming": {
"darkSyntaxTheme": "base16-syntax",
"darkUITheme": "one-dark-ui",
"lightSyntaxTheme": "one-light-syntax",
"lightUITheme": "one-light-ui"
},
"one-dark-ui": {
"tabSizing": "Minimum"
},
"pigments": {
"ignoredScopes": [
".attribute-selector",
".comment"
],
"markerType": "native-square-dot",
"sassShadeAndTintImplementation": "bourbon"
},
"prettier-atom": {
"formatOnSaveOptions": {
"isDisabledIfNotInPackageJson": true,
"respectEslintignore": false,
"showInStatusBar": true
},
"prettierOptions": {
"arrowParens": "always"
}
},
"project-manager": {
"sortBy": "title"
},
"spell-check": {},
"split-diff": {
"diffWords": true,
"ignoreWhitespace": true,
"leftEditorColor": "red",
"rightEditorColor": "green",
"syncHorizontalScroll": true
},
"status-bar-clock": {
"activateOnStart": "Show on start"
},
"svg-preview": {
"openPreviewAutomatically": true
},
"sync-settings": {
"autoCheckForUpdatedBackup": "backup",
"hiddenSettings": {},
"installLatestVersion": true,
"quietUpdateCheck": true
},
"tabs": {
"enableVcsColoring": true,
"usePreviewTabs": true
},
"tidy-markdown": {
"runOnSave": false
},
"tree-ignore": {
"enabled": false
},
"tree-view": {},
"tree-view-git-status": {
"showCommitsAheadLabel": false,
"showCommitsBehindLabel": false
},
"webbox-color": {},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ignoreWhitespaceOnCurrentLine": 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.
#-------------------------------------------------------------------------------
# Misc
#-------------------------------------------------------------------------------
'.text.plain, .text.html.basic, .source.gfm':
'front matter block':
'prefix': 'ffm'
'body': '''
---
title: ${1:TITLE}
year: ${2:YEAR}
---
${3}
'''
'knowledge front matter block':
'prefix': 'ffk'
'body': '''
---
title: ${1:TITLE}
date: ${2:YYYY-MM-DD}
tags:
- ${3:TAG}
language: ${4:en/pl}
---
'''
#-------------------------------------------------------------------------------
# TypeScript
#-------------------------------------------------------------------------------
'.source.ts':
'fat arrow':
'prefix': 'ffa'
'body': '() => {${1:CODE}}'
'jsdoc':
'prefix': 'jd'
'body': '''
/**
* ${1}
*/
'''
'jsdoc oneliner':
'prefix': 'jd1'
'body': '/** ${1} */'
#-------------------------------------------------------------------------------
# JavaScript
#-------------------------------------------------------------------------------
'.source.js':
'karma test case':
'prefix': 'it'
'body': '''
it('should ${1:DESCRIPTION}', () => {
${2:CODE}
});
'''
'fat arrow':
'prefix': 'ffa'
'body': '() => {${1:CODE}}'
'jsdoc':
'prefix': 'jd'
'body': '''
/**
* ${1}
*/
'''
#-------------------------------------------------------------------------------
# Liquid / Jekyll
#-------------------------------------------------------------------------------
'.text.liquid':
'Liquid comment':
'prefix': 'comment'
'body': '''
{% comment %}
${1:qwerty}
{% endcomment %}
'''
'Liquid for':
'prefix': 'for'
'body': '''
{% for ${1:ITEM} in ${2:ITEMS} %}
{{ ${1:ITEM}.${3:ITEM_PROPERTY} }}
{% endfor %}
'''
'Liquid capture':
'prefix': 'capture'
'body': '{% capture ${1:VAR_NAME} %}{{ ${2:OTHER_VAR_NAME} }}${3:REST}{% endcapture %}'
'Liquid assign':
'prefix': 'assign'
'body': '{% assign ${1:VARN_NAME} = ${2:VALUE} %}'
'Liquid if':
'prefix': 'if'
'body': '{% if ${1:CONDITIONS} %}${2:CONTENT}{% endif %}'
'Liquid include':
'prefix': 'include'
'body': '{% include ${1:PATH} %}'
'Liquid include with':
'prefix': 'includewith'
'body': '{% include ${1:PATH} ${2:VAR_NAME}=${3:VALUE} %}'
/*
* 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
*/
.markdown-preview.markdown-preview * {
color: inherit !important;
line-height: inherit !important;
}
.markdown-preview.markdown-preview > * {
margin-top: 15pt !important;
margin-bottom: 15pt !important;
}
.markdown-preview.markdown-preview {
font-size: 10pt;
line-height: 15pt;
padding: 0;
}
.markdown-preview.markdown-preview h1,
.markdown-preview.markdown-preview h2,
.markdown-preview.markdown-preview h3 {
border: 0 !important;
}
.markdown-preview.markdown-preview h1 {
font-size: 200%;
}
.markdown-preview.markdown-preview h2 {
font-size: 150%;
}
.markdown-preview.markdown-preview h3 {
font-size: 125%;
}
.markdown-preview.markdown-preview a {
text-decoration: underline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment