Skip to content

Instantly share code, notes, and snippets.

@magicdawn
Last active December 19, 2023 05:33
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 magicdawn/c4d99c4d707e75590232 to your computer and use it in GitHub Desktop.
Save magicdawn/c4d99c4d707e75590232 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.
#
# 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 here:
# https://github.com/bevry/cson#what-is-cson
#
# emmet
#
'atom-text-editor[data-grammar^="text html"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
'atom-text-editor[data-grammar^="text xml"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
# jsx emmet
# tsx emmet
'atom-text-editor[data-grammar~="jsx"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
'atom-text-editor[data-grammar~="tsx"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
# markdown jsx emmet
'span.syntax--source.syntax--embedded.syntax--jsx':
'tab': 'emmet:expand-abbreviation-with-tab'
'atom-workspace':
# open project
'cmd-shift-o': 'project-plus:toggle-project-finder'
# cursor history
'ctrl--': 'cursor-history:prev'
'ctrl-=': 'cursor-history:next'
'ctrl-cmd--': 'cursor-history:prev-within-editor'
'ctrl-cmd-=': 'cursor-history:next-within-editor'
# changecase
'.platform-darwin atom-workspace':
# 'cmd-k-s': 'change-case:snake'
# 'cmd-k-c': 'change-case:camel'
'cmd-k cmd-h': 'change-case:kebab'
# delete line
'atom-text-editor:not([mini])':
'cmd-shift-K': 'editor:delete-line'
# overwrite emmet expand
'ctrl-alt-enter': 'platformio-ide-terminal:insert-selected-text'
#
# tree view
#
'.tree-view':
'f': 'tree-view:copy-full-path'
'p': 'tree-view:copy-project-path'
'r': 'tree-view-copy-relative-path:copy-path'
'o': 'tree-view:show-in-file-manager'
{
"about": {
"version": "1.9.1"
},
"advanced-open-file": {
"version": "0.16.8"
},
"archive-view": {
"version": "0.65.2"
},
"atom-clock": {
"version": "0.1.18"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-github-2014-syntax": {
"version": "1.6.0",
"theme": "syntax"
},
"atom-gooey-syntax": {
"version": "1.0.0",
"theme": "syntax"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"atom-material-syntax": {
"version": "1.0.8",
"theme": "syntax"
},
"atom-material-syntax-light": {
"version": "0.4.6",
"theme": "syntax"
},
"atom-material-ui": {
"version": "2.1.3",
"theme": "ui"
},
"atom-scale-factor": {
"version": "0.2.1"
},
"atom-soda-dark-ui": {
"version": "1.1.0",
"theme": "ui"
},
"atom-typescript": {
"version": "13.9.3"
},
"atom-visual-studio-code-light-ui": {
"version": "2.1.0",
"theme": "ui"
},
"atom-visual-studio-code-ui": {
"version": "2.1.0",
"theme": "ui"
},
"atom-zoom": {
"version": "0.0.0"
},
"autoclose-html": {
"version": "0.23.0"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-modules": {
"version": "2.3.0"
},
"autocomplete-nunjucks": {
"version": "0.5.0"
},
"autocomplete-paths": {
"version": "2.12.2"
},
"autocomplete-plus": {
"version": "2.42.3"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"ayu-dark-mod-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"ayu-dark-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"ayu-light-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"ayu-mirage-atom-syntax": {
"version": "1.1.0",
"theme": "syntax"
},
"ayu-mirage-ish-syntax": {
"version": "1.1.0",
"theme": "syntax"
},
"ayu-mirage-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"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-colorizer": {
"version": "1.4.0"
},
"bracket-matcher": {
"version": "0.91.2"
},
"busy-signal": {
"version": "2.0.1"
},
"change-case": {
"version": "0.6.5"
},
"chester-atom-syntax": {
"version": "0.3.2",
"theme": "syntax"
},
"clang-format": {
"version": "2.0.8"
},
"clickable-npm-scripts": {
"version": "3.9.0"
},
"code-dark-syntax": {
"version": "0.6.0",
"theme": "syntax"
},
"code-dark-ui": {
"version": "0.8.0",
"theme": "ui"
},
"command-palette": {
"version": "0.43.5"
},
"copy-path": {
"version": "0.5.1"
},
"cursor-history": {
"version": "0.14.0"
},
"dalek": {
"version": "0.2.2"
},
"dash": {
"version": "1.7.1"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"docblockr": {
"version": "0.13.7"
},
"drag-relative-path": {
"version": "1.2.3"
},
"duotone-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"duotone-light-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"editorconfig": {
"version": "2.6.1"
},
"emmet": {
"version": "2.4.3"
},
"encoding-selector": {
"version": "0.23.9"
},
"exception-reporting": {
"version": "0.43.1"
},
"file-icons": {
"version": "2.1.43"
},
"find-and-replace": {
"version": "0.219.3"
},
"firewatch-syntax": {
"version": "1.1.1",
"theme": "syntax"
},
"fuzzy-finder": {
"version": "1.14.2"
},
"genesis-ui": {
"version": "0.5.0",
"theme": "ui"
},
"git-blame": {
"version": "1.8.0"
},
"git-diff": {
"version": "1.3.9"
},
"git-history": {
"version": "3.3.0"
},
"git-plus": {
"version": "8.7.1"
},
"github": {
"version": "0.34.2"
},
"github-atom-dark-syntax": {
"version": "0.5.0",
"theme": "syntax"
},
"github-atom-light-syntax": {
"version": "0.5.0",
"theme": "syntax"
},
"github-search": {
"version": "0.1.0"
},
"go-plus": {
"version": "6.1.0"
},
"go-signature-statusbar": {
"version": "1.2.3"
},
"go-to-line": {
"version": "0.33.0"
},
"googlesearch": {
"version": "1.5.0"
},
"grammar-selector": {
"version": "0.50.1"
},
"gruvbox-plus-syntax": {
"version": "1.3.1",
"theme": "syntax"
},
"halcyon-syntax": {
"version": "0.2.0",
"theme": "syntax"
},
"handsome-light-syntax": {
"version": "0.3.6",
"theme": "syntax"
},
"highlight-colors": {
"version": "0.9.0"
},
"hyperclick": {
"version": "0.1.5"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"intentions": {
"version": "1.1.5"
},
"javascript-snippets": {
"version": "1.2.1"
},
"js-hyperclick": {
"version": "1.19.0",
"apmInstallSource": {
"type": "git",
"source": "https://github.com/magicdawn/js-hyperclick",
"sha": "a55dd67f2a91bc0f102e34ed43cd5cf07afd6fab"
}
},
"jsdelivr": {
"version": "1.0.1"
},
"keybinding-resolver": {
"version": "0.39.0"
},
"language-babel": {
"version": "2.85.0"
},
"language-bison": {
"version": "1.0.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-docker": {
"version": "1.1.8"
},
"language-ejs": {
"version": "0.4.0"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-go": {
"version": "0.47.2"
},
"language-groovy": {
"version": "0.7.0"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-java": {
"version": "0.31.5"
},
"language-javascript": {
"version": "0.134.1"
},
"language-jison": {
"version": "2.12.1"
},
"language-json": {
"version": "1.0.5"
},
"language-less": {
"version": "0.34.3"
},
"language-make": {
"version": "0.23.0"
},
"language-mustache": {
"version": "0.14.5"
},
"language-nunjucks": {
"version": "4.2.1"
},
"language-objective-c": {
"version": "0.16.0"
},
"language-perl": {
"version": "0.38.1"
},
"language-php": {
"version": "0.44.5"
},
"language-property-list": {
"version": "0.9.1"
},
"language-protobuf": {
"version": "0.7.1"
},
"language-python": {
"version": "0.53.4"
},
"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-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.1.0"
},
"linter-docker": {
"version": "0.3.2"
},
"linter-eslint": {
"version": "8.5.5"
},
"linter-ui-default": {
"version": "2.0.1"
},
"markdown-preview": {
"version": "0.160.2"
},
"markdown-writer": {
"version": "2.11.10"
},
"metrics": {
"version": "1.8.1"
},
"monokai-dark": {
"version": "1.5.0",
"theme": "syntax"
},
"native-ui": {
"version": "0.27.0",
"theme": "ui"
},
"node-requirer": {
"version": "0.1.12"
},
"nord-atom-syntax": {
"version": "0.10.0",
"theme": "syntax"
},
"nord-atom-ui": {
"version": "0.12.0",
"theme": "ui"
},
"notifications": {
"version": "0.71.0"
},
"nucleus-dark-ui": {
"version": "0.12.3",
"theme": "ui"
},
"oceanic-reef-syntax": {
"version": "0.9.0",
"theme": "syntax"
},
"octocat-syntax": {
"version": "2.2.7",
"theme": "syntax"
},
"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-in-browser": {
"version": "0.5.2"
},
"open-on-github": {
"version": "1.3.2"
},
"package-generator": {
"version": "1.3.0"
},
"paraiso-black": {
"version": "1.0.5",
"theme": "syntax"
},
"platformio-ide-terminal": {
"version": "2.10.0"
},
"prettier-atom": {
"version": "0.60.1"
},
"project-plus": {
"version": "1.0.0"
},
"quiet-light-atom": {
"version": "1.5.0",
"theme": "syntax"
},
"react": {
"version": "0.18.0"
},
"react-es6-snippets": {
"version": "0.3.0"
},
"release-notes": {
"version": "0.53.0"
},
"script": {
"version": "3.26.0"
},
"seti-super-compact-ui": {
"version": "1.9.9",
"theme": "ui"
},
"seti-syntax": {
"version": "1.2.0",
"theme": "syntax"
},
"seti-ui": {
"version": "1.11.0",
"theme": "ui"
},
"settings-view": {
"version": "0.261.4"
},
"slack-ui": {
"version": "0.8.0",
"theme": "ui"
},
"snippets": {
"version": "1.5.1"
},
"soda-light-ui": {
"version": "0.2.0",
"theme": "ui"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"spell-check": {
"version": "0.76.1"
},
"status-bar": {
"version": "1.8.17"
},
"styleguide": {
"version": "0.49.12"
},
"Stylus": {
"version": "3.2.0"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.0.3"
},
"tabs": {
"version": "0.110.0"
},
"teletype": {
"version": "0.13.4"
},
"timecop": {
"version": "0.36.2"
},
"todo-show": {
"version": "2.3.2"
},
"tree-view": {
"version": "0.228.0"
},
"tree-view-copy-relative-path": {
"version": "1.2.0"
},
"two-light-ui": {
"version": "1.1.3",
"theme": "ui"
},
"unity-ui": {
"version": "2.1.11",
"theme": "ui"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"vim-mode-plus": {
"version": "1.36.4"
},
"vue-hyperclick": {
"version": "0.2.0"
},
"web-search": {
"version": "0.3.3"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.7"
},
"wrap-guide": {
"version": "0.41.0"
},
"zentabs": {
"version": "0.8.9"
}
}
{
"*": {
"activate-power-mode": {
"plugins": {
"playAudio": true,
"screenShake": true
}
},
"atom-beautify": {
"c": {
"default_beautifier": "clang-format"
},
"cpp": {
"default_beautifier": "clang-format"
},
"general": {
"_analyticsUserId": "3bdbdf56-ce3b-4c5c-a9e3-8e888d5d689a",
"analytics": false
},
"jsx": {
"disabled": true,
"space_after_anon_function": true
},
"vue": {
"disabled": true,
"indent_inner_html": true,
"unformatted": [
"a",
"abbr",
"area",
"audio",
"b",
"bdi",
"bdo",
"br",
"button",
"canvas",
"cite",
"code",
"data",
"datalist",
"del",
"dfn",
"em",
"embed",
"i",
"iframe",
"img",
"input",
"ins",
"kbd",
"keygen",
"label",
"map",
"mark",
"math",
"meter",
"noscript",
"object",
"output",
"progress",
"q",
"ruby",
"s",
"samp",
"select",
"small",
"span",
"strong",
"sub",
"sup",
"svg",
"template",
"textarea",
"time",
"u",
"var",
"video",
"wbr",
"text",
"acronym",
"address",
"big",
"dt",
"ins",
"small",
"strike",
"tt",
"pre",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"style"
]
}
},
"atom-clock": {
"locale": "zh-cn",
"showClockIcon": true
},
"atom-ide-ui": {
"atom-ide-code-format": {
"formatOnSave": true
}
},
"atom-material-ui": {
"colors": {
"abaseColor": "#7e57c2",
"accentColor": "#b0e457",
"genAccent": true,
"paintCursor": true,
"predefinedColor": "Purple"
},
"fonts": {},
"tabs": {
"compactTabs": true
},
"treeView": {
"compactList": true
},
"ui": {
"panelContrast": true,
"panelShadows": true
}
},
"atom-scale-factor": {
"setLatest": true
},
"atom-typescript": {
"ignoreUnusedSuggestionDiagnostics": true
},
"autocomplete-paths": {
"enableHtmlSupport": true,
"ignoreBuiltinScopes": true,
"maxFileCount": 20000,
"scopes": [
{
"extensions": [
"json",
"js",
"jsx",
"ts",
"tsx",
"png",
"jpg",
"bmp",
"gif",
"ico",
"vue",
"css",
"less",
"scss",
"sass",
"md"
],
"includeCurrentDirectory": true,
"prefixes": [
"import\\s+.*?from\\s+['\"]",
"require\\(['\"]",
"define\\(\\[?['\"]",
"url\\(['\"]?",
"@import\\s+['\"]"
],
"projectRelativePath": false,
"relative": true,
"replaceOnInsert": [
[
".jsx?$",
""
],
[
".tsx?$",
""
]
],
"scopes": [
"source.js",
"source.js.jsx",
"source.ts",
"source.tsx",
"text.html.vue",
"source.js.embedded.html",
"source.css.less"
]
}
]
},
"bracket-colorizer": {
"repeat_color": 6
},
"clang-format": {
"formatCOnSave": true,
"formatCPlusPlusOnSave": true,
"formatObjectiveCOnSave": true
},
"core": {
"customFileTypes": {
"source.js.jsx": [
"js",
"jsx"
]
},
"disabledPackages": [
"spell-check",
"gometalinter-linter",
"go-config",
"go-get",
"godoc",
"gofmt",
"gorename",
"navigator-go",
"autocomplete-go",
"builder-go",
"tester-go",
"metrics",
"language-jison",
"wrap-guide",
"busy-signal",
"intentions",
"language-bison",
"language-groovy",
"language-protobuf",
"advanced-open-file",
"release-notes",
"todo-show",
"react",
"atom-beautify",
"vim-mode-plus"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
"desktop.ini",
"node_modules"
],
"packagesWithKeymapsDisabled": [
"zentabs"
],
"telemetryConsent": "no",
"themes": [
"nord-atom-ui",
"nord-atom-syntax"
],
"uriHandlerRegistration": "always",
"warnOnLargeFileLimit": 10
},
"cursor-history": {},
"editor": {
"fontFamily": " jetbrains mono,Ubuntu Mono,hack,menlo,cascadia code,'M+ 1m',menlo,jetbrains mono,'M+ 1m',fira code,jetbrains mono,hack",
"fontSize": 16,
"invisibles": {},
"scrollPastEnd": true,
"showIndentGuide": true,
"softWrap": true,
"softWrapHangingIndent": 2,
"tabType": "soft"
},
"editor-background": {},
"esformatter": {
"formatOnSave": true
},
"exception-reporting": {
"userId": "2fb802a9-67bf-cecd-06a0-d1a534b830bd"
},
"file-icons": {},
"git-blame": {
"columnWidth": 282,
"ignoreWhiteSpaceDiffs": true
},
"git-plus": {
"general": {
"alwaysOpenDockWithResult": true
}
},
"go-plus": {
"disabledBundledPackages": [
"atom-ide-ui"
]
},
"gometalinter-linter": {},
"js-hyperclick": {
"extensions": [
".js",
".json",
".node",
".jsx",
".vue"
],
"jumpToImport": true,
"trustedFiles": [
{
"hash": "69999715d532482cbc4b8619731a7cd4d6c274f0",
"trusted": true
}
],
"useRealpath": true,
"webpackConfigFilename": "build/webpack.base.conf.js"
},
"language-babel": {},
"linter": {},
"linter-eslint": {
"disableWhenNoEslintrcFileInPath": true,
"lintHtmlFiles": true
},
"linter-ui-default": {
"panelHeight": 58,
"showPanel": true
},
"markdown-preview": {
"breakOnSingleNewline": true
},
"one-dark-ui": {
"stickyHeaders": true
},
"one-light-ui": {
"stickyHeaders": true
},
"pigments": {
"notifyReloads": false
},
"platformio-ide-terminal": {
"core": {
"mapTerminalsTo": "Folder"
},
"style": {
"fontFamily": "jetbrains mono",
"fontSize": "14"
},
"toggles": {
"autoClose": true,
"showToolbar": false
}
},
"prettier-atom": {
"formatOnSaveOptions": {
"enabled": true,
"isDisabledIfNoConfigFile": true,
"showInStatusBar": true
},
"prettierEslintOptions": {
"prettierLast": true
},
"prettierOptions": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"useEslint": true,
"useFlowParser": false
},
"project-plus": {
"newWindow": true,
"notifications": false,
"projectHome": "~/",
"showPath": true
},
"remote-atom": {
"keep_alive": true,
"launch_at_startup": true
},
"script": {
"cwdBehavior": "Directory of the script",
"stopOnRerun": true
},
"seti-super-compact-ui": {
"compactView": "Super Compact",
"themeColor": "Purple"
},
"seti-ui": {
"compactView": true,
"hideProjectTab": true,
"themeColor": "Purple"
},
"sync-settings": {
"checkForUpdatedBackup": false,
"hiddenSettings": {},
"quietUpdateCheck": true
},
"terminal-plus": {
"core": {
"mapTerminalsTo": "Folder"
},
"style": {
"fontFamily": "ubuntu mono",
"fontSize": "16",
"theme": "inverse"
},
"toggles": {
"autoClose": true
}
},
"todo-show": {
"findTheseTodos": [
"FIXME",
"TODO",
"CHANGED",
"XXX",
"IDEA",
"HACK",
"REVIEW"
],
"ignoreThesePaths": [
"**/node_modules/",
"**/vendor/",
"**/bower_components/",
".tmp",
"*sails*.*"
],
"openListInDirection": "ontop",
"sortBy": "Type"
},
"tree-view": {
"alwaysOpenExisting": true,
"autoReveal": true,
"hideIgnoredNames": true
},
"two-light-ui": {
"fontSize": 12,
"layoutMode": "Compact"
},
"unity-ui": {
"colorStatusIndicatorsInTreeView": true,
"showIcons": true
},
"vim-mode-plus": {
"statusBarModeStringStyle": "long"
},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ensureSingleTrailingNewline": false
},
"zentabs": {
"manualMode": true
}
},
".python.text.traceback": {
"editor": {
"softWrapHangingIndent": 2
}
},
".python.regexp.source": {
"editor": {
"softWrapHangingIndent": 2,
"tabLength": 2
}
},
".js.jsx.source": {
"editor": {
"autoIndent": true,
"autoIndentOnPaste": false,
"softWrapHangingIndent": 2
}
},
".console.python.text": {
"editor": {
"softWrapHangingIndent": 2
}
},
".babel.regexp.source": {
"editor": {
"softWrapHangingIndent": 2
}
},
".python.source": {
"editor": {
"softWrapHangingIndent": 2,
"tabLength": 2
}
},
".languagebabel.ttlextension": {
"editor": {
"autoIndent": false,
"autoIndentOnPaste": false
}
},
".ini.source": {
"editor": {
"softWrapHangingIndent": 2
}
},
".hyperlink.text": {
"editor": {
"softWrapHangingIndent": 2
}
}
}
# 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'
#
# 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
".source.js, .source.jsx, .source.ts, .source.js-semantic":
# original `ita`
# https://github.com/zenorocha/atom-javascript-snippets/blob/master/snippets/bdd-ita.cson
"mocha it async/await":
"prefix": "ita"
"body": """
it('${1:description}', async () => {
\t${0:// body...}
})
"""
# original `its`
# https://github.com/zenorocha/atom-javascript-snippets/blob/master/snippets/bdd-ita.cson
"mocha it":
"prefix": "it"
"body": """
it('${1:description}', () => {
\t${0:// body...}
})
"""
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*/
atom-text-editor {
// font-weight: lighter;
// -webkit-font-smoothing: antialiased;
}
// .atom-dock-toggle-button-visible {
// display: none;
// }
/**
* Atom Clock
*/
.atom-clock {
position: fixed;
right: 10px;
max-width: 50vw;
&:hover,
&:active {
background-color: transparent !important;
}
// 上
top: 65px;
// 中
// top: 50%;
// transform: translateY(-50%);
// 底
// bottom: 60px;
color: red;
display: flex;
align-items: center;
height: 100px;
.atom-clock-icon {
font-size: 60px;
display: none;
}
.atom-clock-time {
font-family: 'M+ 1mn';
font-size: 80px;
}
}
/**
* material theme treeview patch
*/
.theme-atom-material-ui {
.tree-view .tree-view-root {
padding-left: 0;
@gap: 4px;
@height: 24px;
// 展开图标与文字间距
.list-tree.has-collapsable-children .list-nested-item > .list-item::before {
margin-right: @gap;
}
.list-group .icon::before,
.list-tree .icon::before {
margin-right: @gap;
}
// 文件 & 文件夹 padding
li[is='tree-view-directory'],
li[is='tree-view-file'] {
margin-left: 0 !important;
padding-left: @gap * 4 !important;
&.selected::before {
height: @height !important;
}
}
li[is='tree-view-directory'] {
.header::before {
display: none !important;
}
}
.list-item {
line-height: @height !important;
}
}
}
/**
* atom-gooey-syntax syntax
*/
atom-workspace.theme-atom-gooey-syntax {
atom-text-editor .line.cursor-line {
@c: purple;
@c: #333;
@opacity: 0.6;
background-color: fade(@c, @opacity * 100%);
border-radius: 10px;
width: 100%;
}
}
atom-workspace[class*='light'] {
@colors: lightgreen, red, teal, violet, orange, lightblue;
.loop (@i) when (@i < length(@colors)) {
.bracket-colorizer-color@{i} {
color: extract(@colors, @i + 1);
}
.loop(@i + 1);
}
.loop(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment