Skip to content

Instantly share code, notes, and snippets.

@mebezac
Last active November 18, 2019 13:51
Show Gist options
  • Save mebezac/9f9fc7ba95385e47333bdef17fc248c2 to your computer and use it in GitHub Desktop.
Save mebezac/9f9fc7ba95385e47333bdef17fc248c2 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
'atom-text-editor.vim-mode-plus.insert-mode':
'j j': 'vim-mode-plus:activate-normal-mode' # jk to escape
'.platform-darwin atom-text-editor, .platform-linux atom-text-editor':
'ctrl-t': 'toggler:toggle'
'.platform-darwin atom-workspace':
'cmd-c': 'core:copy'
'atom-text-editor:not([mini])':
'alt-up': 'editor:select-larger-syntax-node'
[
{
"name": "4-color-dark",
"version": "0.2.1",
"theme": "syntax"
},
{
"name": "about",
"version": "1.9.1"
},
{
"name": "ansible-snippets",
"version": "0.2.0"
},
{
"name": "archive-view",
"version": "0.65.1"
},
{
"name": "ariake-dark-syntax",
"version": "0.2.1",
"theme": "syntax"
},
{
"name": "atom-alignment",
"version": "0.13.0"
},
{
"name": "atom-beautify",
"version": "0.33.4"
},
{
"name": "atom-bootstrap3",
"version": "1.2.12"
},
{
"name": "atom-clock",
"version": "0.1.17"
},
{
"name": "atom-dark-syntax",
"version": "0.29.1",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.3",
"theme": "ui"
},
{
"name": "atom-elixir",
"version": "0.2.3"
},
{
"name": "atom-html-preview",
"version": "0.2.6"
},
{
"name": "atom-jest-snippets",
"version": "2.2.0"
},
{
"name": "atom-jinja2",
"version": "0.6.0"
},
{
"name": "atom-light-syntax",
"version": "0.29.1",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.3",
"theme": "ui"
},
{
"name": "atom-runner",
"version": "2.7.1"
},
{
"name": "atom-sort-sass",
"version": "0.2.1"
},
{
"name": "atom-ternjs",
"version": "0.20.0"
},
{
"name": "atom-transpose",
"version": "0.3.5"
},
{
"name": "atom-wrap-in-tag",
"version": "0.6.0"
},
{
"name": "autoclose-html",
"version": "0.23.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.7"
},
{
"name": "autocomplete-css",
"version": "0.17.5"
},
{
"name": "autocomplete-html",
"version": "0.8.8"
},
{
"name": "autocomplete-modules",
"version": "2.3.0"
},
{
"name": "autocomplete-plus",
"version": "2.42.3"
},
{
"name": "autocomplete-python",
"version": "1.16.0"
},
{
"name": "autocomplete-snippets",
"version": "1.12.1"
},
{
"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": "blame",
"version": "1.2.0"
},
{
"name": "blueforest-syntax",
"version": "0.5.1",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.46.0"
},
{
"name": "bracket-matcher",
"version": "0.91.1"
},
{
"name": "busy-signal",
"version": "2.0.1"
},
{
"name": "change-case",
"version": "0.6.5"
},
{
"name": "chester-atom-syntax",
"version": "0.3.2",
"theme": "syntax"
},
{
"name": "city-lights-syntax",
"version": "1.1.8",
"theme": "syntax"
},
{
"name": "code-peek",
"version": "1.4.21"
},
{
"name": "color-picker",
"version": "2.3.0"
},
{
"name": "colorblind-wombat-dark-syntax",
"version": "0.6.0",
"theme": "syntax"
},
{
"name": "command-logger",
"version": "0.23.0"
},
{
"name": "command-palette",
"version": "0.43.5"
},
{
"name": "css-snippets",
"version": "1.1.0"
},
{
"name": "cucumber",
"version": "0.7.0"
},
{
"name": "cucumber-step",
"version": "0.2.0"
},
{
"name": "custom-title",
"version": "1.0.1"
},
{
"name": "dalek",
"version": "0.2.2"
},
{
"name": "dark-side-of-the-moon-syntax",
"version": "0.6.62",
"theme": "syntax"
},
{
"name": "dash",
"version": "1.7.1"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.48.1"
},
{
"name": "diff-pane",
"version": "0.3.0"
},
{
"name": "docblockr",
"version": "0.13.7"
},
{
"name": "dockerletion",
"version": "0.2.0"
},
{
"name": "duotone-dark-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "encoding-selector",
"version": "0.23.9"
},
{
"name": "environment",
"version": "1.3.1"
},
{
"name": "es6-javascript",
"version": "1.0.0"
},
{
"name": "ex-mode",
"version": "0.18.0"
},
{
"name": "exception-reporting",
"version": "0.43.1"
},
{
"name": "find-and-replace",
"version": "0.219.0"
},
{
"name": "firepad",
"version": "0.8.0"
},
{
"name": "flatland-dark",
"version": "0.2.2",
"theme": "syntax"
},
{
"name": "flatland-dark-ui",
"version": "0.2.5",
"theme": "ui"
},
{
"name": "fruits-syntax",
"version": "0.0.7",
"theme": "syntax"
},
{
"name": "fuzzy-finder",
"version": "1.14.0"
},
{
"name": "gemsource",
"version": "0.3.0"
},
{
"name": "gist-it",
"version": "0.9.2"
},
{
"name": "git-diff",
"version": "1.3.9"
},
{
"name": "git-plus",
"version": "8.7.1"
},
{
"name": "github",
"version": "0.30.1"
},
{
"name": "go-debug",
"version": "1.6.2"
},
{
"name": "go-oracle",
"version": "0.2.1"
},
{
"name": "go-plus",
"version": "6.1.0"
},
{
"name": "go-signature-statusbar",
"version": "1.2.3"
},
{
"name": "go-to-line",
"version": "0.33.0"
},
{
"name": "go-types",
"version": "1.2.1"
},
{
"name": "grammar-selector",
"version": "0.50.1"
},
{
"name": "graphviz-preview",
"version": "1.7.0"
},
{
"name": "highlight-selected",
"version": "0.16.0"
},
{
"name": "html-to-elm",
"version": "0.2.0"
},
{
"name": "html2slim",
"version": "0.5.0"
},
{
"name": "hydra-syntax-theme",
"version": "4.0.1",
"theme": "syntax"
},
{
"name": "hyperclick",
"version": "0.1.5"
},
{
"name": "image-view",
"version": "0.64.0"
},
{
"name": "improved-chester-atom-syntax",
"version": "0.3.0",
"theme": "syntax"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "jackhammer-syntax",
"version": "1.1.0",
"theme": "syntax"
},
{
"name": "javascript-snippets",
"version": "1.2.1"
},
{
"name": "jekyll",
"version": "2.1.0"
},
{
"name": "jquery-snippets",
"version": "11.0.0"
},
{
"name": "jshint",
"version": "1.8.6"
},
{
"name": "keybinding-resolver",
"version": "0.39.0"
},
{
"name": "language-ansible",
"version": "0.2.2"
},
{
"name": "language-babel",
"version": "2.85.0"
},
{
"name": "language-c",
"version": "0.60.18"
},
{
"name": "language-clojure",
"version": "0.22.8"
},
{
"name": "language-coffee-script",
"version": "0.50.0"
},
{
"name": "language-csharp",
"version": "1.1.0"
},
{
"name": "language-css",
"version": "0.44.0"
},
{
"name": "language-docker",
"version": "1.1.8"
},
{
"name": "language-dot",
"version": "1.7.0"
},
{
"name": "language-elixir",
"version": "0.22.1"
},
{
"name": "language-elm",
"version": "1.5.0"
},
{
"name": "language-gfm",
"version": "0.90.6"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.47.1"
},
{
"name": "language-haml",
"version": "0.32.1"
},
{
"name": "language-html",
"version": "0.52.3"
},
{
"name": "language-hyperlink",
"version": "0.17.1"
},
{
"name": "language-ini",
"version": "1.23.0"
},
{
"name": "language-java",
"version": "0.31.3"
},
{
"name": "language-javascript",
"version": "0.132.0"
},
{
"name": "language-javascript-jsx",
"version": "0.3.7"
},
{
"name": "language-json",
"version": "1.0.4"
},
{
"name": "language-less",
"version": "0.34.3"
},
{
"name": "language-liquid",
"version": "0.7.0"
},
{
"name": "language-make",
"version": "0.23.0"
},
{
"name": "language-mustache",
"version": "0.14.5"
},
{
"name": "language-objective-c",
"version": "0.16.0"
},
{
"name": "language-perl",
"version": "0.38.1"
},
{
"name": "language-php",
"version": "0.44.2"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-puppet",
"version": "0.23.0"
},
{
"name": "language-python",
"version": "0.53.3"
},
{
"name": "language-rocker",
"version": "0.1.0"
},
{
"name": "language-rspec",
"version": "0.12.1"
},
{
"name": "language-ruby",
"version": "0.72.20"
},
{
"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.28.0"
},
{
"name": "language-slim",
"version": "1.0.1"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.10"
},
{
"name": "language-terraform",
"version": "0.8.1"
},
{
"name": "language-text",
"version": "0.7.4"
},
{
"name": "language-tick",
"version": "0.4.0"
},
{
"name": "language-todo",
"version": "0.29.4"
},
{
"name": "language-toml",
"version": "0.20.0"
},
{
"name": "language-typescript",
"version": "0.5.2"
},
{
"name": "language-xml",
"version": "0.35.3"
},
{
"name": "language-yaml",
"version": "0.32.0"
},
{
"name": "last-cursor-position",
"version": "0.9.3"
},
{
"name": "line-ending-selector",
"version": "0.7.7"
},
{
"name": "link",
"version": "0.31.6"
},
{
"name": "linter",
"version": "2.3.1"
},
{
"name": "linter-bootlint",
"version": "1.1.7"
},
{
"name": "linter-eslint",
"version": "8.5.5"
},
{
"name": "linter-js-standard",
"version": "7.0.0"
},
{
"name": "linter-rubocop",
"version": "2.5.3"
},
{
"name": "linter-sass-lint",
"version": "1.9.0"
},
{
"name": "linter-shellcheck",
"version": "1.6.0"
},
{
"name": "linter-slim",
"version": "2.0.0"
},
{
"name": "linter-ui-default",
"version": "1.8.0"
},
{
"name": "linter-write-good",
"version": "0.9.3"
},
{
"name": "markdown-pdf",
"version": "2.2.0"
},
{
"name": "markdown-preview",
"version": "0.160.2"
},
{
"name": "markdown-preview-plus",
"version": "3.11.5"
},
{
"name": "markdown-writer",
"version": "2.11.9"
},
{
"name": "maximize-panes",
"version": "0.2.0"
},
{
"name": "merge-conflicts",
"version": "1.4.5"
},
{
"name": "metrics",
"version": "1.8.1"
},
{
"name": "move-panes",
"version": "0.2.0"
},
{
"name": "neon-color-scheme",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "notifications",
"version": "0.71.0"
},
{
"name": "now-syntax",
"version": "0.3.0",
"theme": "syntax"
},
{
"name": "nucleus-dark-ui",
"version": "0.12.3",
"theme": "ui"
},
{
"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-in-browser",
"version": "0.5.2"
},
{
"name": "open-on-github",
"version": "1.3.1"
},
{
"name": "package-generator",
"version": "1.3.0"
},
{
"name": "pigments",
"version": "0.40.2"
},
{
"name": "platformio-ide-terminal",
"version": "2.10.0"
},
{
"name": "prettier-atom",
"version": "0.58.2"
},
{
"name": "prompt-big-file",
"version": "0.5.0"
},
{
"name": "pure-syntax",
"version": "1.0.1",
"theme": "syntax"
},
{
"name": "python-indent",
"version": "1.2.5"
},
{
"name": "rails-rspec",
"version": "0.3.2"
},
{
"name": "rails-snippets",
"version": "2.25.0"
},
{
"name": "react",
"version": "0.18.0"
},
{
"name": "react-es6-snippets",
"version": "0.3.0"
},
{
"name": "react-native-snippets",
"version": "0.3.0"
},
{
"name": "react-snippets",
"version": "1.2.0"
},
{
"name": "robot-ruby-syntax",
"version": "0.1.0",
"theme": "syntax"
},
{
"name": "ruby-block",
"version": "0.3.6"
},
{
"name": "ruby-block-converter",
"version": "4.1.1"
},
{
"name": "ruby-slim",
"version": "0.2.0"
},
{
"name": "ruby-test",
"version": "1.0.2"
},
{
"name": "script",
"version": "3.25.0"
},
{
"name": "set-syntax",
"version": "0.4.0"
},
{
"name": "settings-view",
"version": "0.261.3"
},
{
"name": "smarter-delete-line",
"version": "1.1.2"
},
{
"name": "snippets",
"version": "1.5.0"
},
{
"name": "solarized-dark-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "sort-lines",
"version": "0.19.0"
},
{
"name": "spell-check",
"version": "0.75.0"
},
{
"name": "status-bar",
"version": "1.8.17"
},
{
"name": "styleguide",
"version": "0.49.12"
},
{
"name": "styri-syntax",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "symbols-view",
"version": "0.118.2"
},
{
"name": "sync-settings",
"version": "0.8.6"
},
{
"name": "tab-foldername-index",
"version": "3.3.1"
},
{
"name": "tab-numbers",
"version": "0.6.1"
},
{
"name": "tab-title",
"version": "0.3.5"
},
{
"name": "tabs",
"version": "0.110.0"
},
{
"name": "timecop",
"version": "0.36.2"
},
{
"name": "toggle-quotes",
"version": "1.1.4"
},
{
"name": "toggler",
"version": "0.3.1"
},
{
"name": "trailing-spaces",
"version": "0.4.0"
},
{
"name": "transform",
"version": "0.4.0"
},
{
"name": "tree-view",
"version": "0.228.0"
},
{
"name": "update-package-dependencies",
"version": "0.13.1"
},
{
"name": "vibrant-ink",
"version": "1.0.4",
"theme": "syntax"
},
{
"name": "vibrant-ink-ruby",
"version": "2.2.0",
"theme": "syntax"
},
{
"name": "vim-mode-plus",
"version": "1.36.2"
},
{
"name": "welcome",
"version": "0.36.9"
},
{
"name": "whitespace",
"version": "0.37.7"
},
{
"name": "wrap-guide",
"version": "0.41.0"
}
]
{
"apathy-theme": {
"altStyle": "Color Pop",
"enableTreeViewBorder": true,
"syntaxSaturation": "130%"
},
"apathy-theme-zac": {
"altStyle": "Color Pop",
"enableTreeViewBorder": true
},
"atom-beautify": {
"general": {
"_analyticsUserId": "bd890864-7206-4642-b512-5987a0658290"
}
},
"atom-clock": {
"dateFormat": "MM/DD/YYYY, H:mm"
},
"autocomplete-elixir": {
"elixirPath": "/usr/local/bin/elixir",
"erlangHome": "/usr/local/bin/erl"
},
"autocomplete-python": {
"useKite": false
},
"core": {
"closeDeletedFileTabs": true,
"disabledPackages": [
"jshint",
"minimap",
"minimap-autohide",
"minimap-find-and-replace",
"minimap-linter",
"synced-sidebar",
"expose",
"git-time-machine",
"vim-mode",
"wrap-guide",
"react",
"markdown-preview",
"git-plus",
"hyperclick"
],
"ignoredNames": [
".git",
".DS_Store"
],
"telemetryConsent": "limited",
"themes": [
"one-dark-ui",
"blueforest-syntax"
]
},
"custom-title": {
"template": "(<%= fileName %>) <%= relativeFilePath %> - <% if (projectPath) { %><% if (gitHead) { %> [<%= gitHead %>]<% } %><% } %>"
},
"editor": {
"showIndentGuide": true
},
"elmjutsu": {
"cacheDirectory": "/var/folders/zh/1bzjk65n1knd7508g26gdq6r0000gn/T/elmjutsu571392M4CpzVWQ2Aa"
},
"exception-reporting": {
"userId": "3d89fa32-3e69-cbf3-2595-1c226cf34a27"
},
"git-plus": {
"general": {
"_analyticsUserId": "47387837-2c5e-4bff-a24a-922289397f2a"
}
},
"go-plus": {
"disabledBundledPackages": [
"hyperclick"
],
"panel": {
"displayMode": "closed"
},
"panelDisplayMode": "closed"
},
"language-elm": {
"autocompleteEnabled": false
},
"linter-codeclimate": {
"init": false
},
"linter-rubocop": {
"command": "/Users/zac/.asdf/shims/rubocop",
"disableWhenNoConfigFile": true
},
"linter-sass-lint": {
"noConfigDisable": true
},
"linter-ui-default": {
"panelHeight": 300
},
"markdown-preview-plus": {
"syncConfig": {
"syncEditorOnPreviewScroll": true,
"syncPreviewOnChange": true,
"syncPreviewOnEditorScroll": true
}
},
"minimap": {
"plugins": {
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0,
"linter": true,
"linterDecorationsZIndex": 0,
"minimap-autohide": true,
"minimap-autohideDecorationsZIndex": 0
}
},
"one-dark-ui": {
"fontSize": 10
},
"ruby-block": {
"highlightLineNumber": true
},
"ruby-test": {
"rspecFileCommand": "bin/rspec --tty {relative_path}",
"rspecSingleCommand": "bin/rspec {relative_path}:{line_number}"
},
"sync-settings": {},
"tree-view": {},
"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
'.text.html.basic':
'clearfix':
'prefix': 'clearfix'
'body': '<div class="clearfix"></div>'
/*
* 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
*/
/*
* Examples
* (To see them, uncomment and save)
*/
// style the background color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow .cursor {
// border-color: red;
}
.syntax--instance {
color: #91CCFF;
}
.syntax--instance .syntax--punctuation {
color: #91CCFF !important;
}
.syntax--constant {
color: #ffcc33;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment