Skip to content

Instantly share code, notes, and snippets.

@kylealwyn
Last active August 21, 2017 01:53
Show Gist options
  • Save kylealwyn/ad4f4ae4e7b5d81cf613d13a41a6c1b7 to your computer and use it in GitHub Desktop.
Save kylealwyn/ad4f4ae4e7b5d81cf613d13a41a6c1b7 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.7.6"
},
{
"name": "archive-view",
"version": "0.63.3"
},
{
"name": "atom-beautify",
"version": "0.30.5"
},
{
"name": "atom-dark-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.0",
"theme": "ui"
},
{
"name": "atom-jade",
"version": "0.3.0"
},
{
"name": "atom-light-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.0",
"theme": "ui"
},
{
"name": "atom-material-syntax",
"version": "1.0.6",
"theme": "syntax"
},
{
"name": "atom-material-syntax-light",
"version": "0.4.6",
"theme": "syntax"
},
{
"name": "atom-material-ui",
"version": "2.0.4",
"theme": "ui"
},
{
"name": "atom-ternjs",
"version": "0.18.3"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.1"
},
{
"name": "autocomplete-css",
"version": "0.16.2"
},
{
"name": "autocomplete-html",
"version": "0.8.0"
},
{
"name": "autocomplete-modules",
"version": "1.6.10"
},
{
"name": "autocomplete-plus",
"version": "2.35.5"
},
{
"name": "autocomplete-python",
"version": "1.10.2"
},
{
"name": "autocomplete-snippets",
"version": "1.11.0"
},
{
"name": "autoflow",
"version": "0.29.0"
},
{
"name": "autosave",
"version": "0.24.3"
},
{
"name": "background-tips",
"version": "0.27.1"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.44.4"
},
{
"name": "bracket-matcher",
"version": "0.87.3"
},
{
"name": "busy-signal",
"version": "1.4.3"
},
{
"name": "cobalt-snazzy-syntax",
"version": "0.0.1",
"theme": "syntax"
},
{
"name": "cobalt2-syntax",
"version": "0.5.1",
"theme": "syntax"
},
{
"name": "color-picker",
"version": "2.2.5"
},
{
"name": "command-palette",
"version": "0.40.4"
},
{
"name": "dalek",
"version": "0.2.1"
},
{
"name": "deprecation-cop",
"version": "0.56.7"
},
{
"name": "dev-live-reload",
"version": "0.47.1"
},
{
"name": "docblockr",
"version": "0.11.0"
},
{
"name": "dracula-syntax",
"version": "2.0.5",
"theme": "syntax"
},
{
"name": "dracula-theme",
"version": "2.0.3",
"theme": "syntax"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "encoding-selector",
"version": "0.23.4"
},
{
"name": "exception-reporting",
"version": "0.41.4"
},
{
"name": "file-icons",
"version": "2.1.11"
},
{
"name": "find-and-replace",
"version": "0.208.3"
},
{
"name": "firewatch-syntax",
"version": "1.1.1",
"theme": "syntax"
},
{
"name": "flex-tool-bar",
"version": "0.12.0"
},
{
"name": "flow-ide",
"version": "1.8.1"
},
{
"name": "friendly-syntax",
"version": "0.2.3",
"theme": "syntax"
},
{
"name": "fuzzy-finder",
"version": "1.5.8"
},
{
"name": "genesis-ui",
"version": "0.5.0",
"theme": "ui"
},
{
"name": "git-diff",
"version": "1.3.6"
},
{
"name": "git-plus",
"version": "7.9.3"
},
{
"name": "git-time-machine",
"version": "1.5.9"
},
{
"name": "github",
"version": "0.3.4-1"
},
{
"name": "github-atom-light-syntax",
"version": "0.5.0",
"theme": "syntax"
},
{
"name": "go-to-line",
"version": "0.32.1"
},
{
"name": "grammar-selector",
"version": "0.49.5"
},
{
"name": "highlight-selected",
"version": "0.13.1"
},
{
"name": "image-view",
"version": "0.61.2"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "keybinding-resolver",
"version": "0.38.0"
},
{
"name": "kobalt",
"version": "0.7.1",
"theme": "syntax"
},
{
"name": "language-api-blueprint",
"version": "1.0.2"
},
{
"name": "language-babel",
"version": "2.71.0"
},
{
"name": "language-c",
"version": "0.58.1"
},
{
"name": "language-clojure",
"version": "0.22.3"
},
{
"name": "language-coffee-script",
"version": "0.48.7"
},
{
"name": "language-csharp",
"version": "0.14.2"
},
{
"name": "language-css",
"version": "0.42.4"
},
{
"name": "language-gfm",
"version": "0.90.0"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.44.1"
},
{
"name": "language-html",
"version": "0.47.3"
},
{
"name": "language-hyperlink",
"version": "0.16.1"
},
{
"name": "language-jade",
"version": "0.7.2"
},
{
"name": "language-java",
"version": "0.27.2"
},
{
"name": "language-javascript",
"version": "0.126.1"
},
{
"name": "language-json",
"version": "0.19.1"
},
{
"name": "language-less",
"version": "0.32.0"
},
{
"name": "language-make",
"version": "0.22.3"
},
{
"name": "language-markdown",
"version": "0.25.1"
},
{
"name": "language-mustache",
"version": "0.14.1"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.37.0"
},
{
"name": "language-php",
"version": "0.39.0"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-pug",
"version": "0.0.21"
},
{
"name": "language-python",
"version": "0.45.3"
},
{
"name": "language-ruby",
"version": "0.71.1"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.2"
},
{
"name": "language-sass",
"version": "0.59.0"
},
{
"name": "language-shellscript",
"version": "0.25.1"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.6"
},
{
"name": "language-swift",
"version": "0.5.0"
},
{
"name": "language-text",
"version": "0.7.3"
},
{
"name": "language-todo",
"version": "0.29.1"
},
{
"name": "language-toml",
"version": "0.18.1"
},
{
"name": "language-xml",
"version": "0.35.1"
},
{
"name": "language-yaml",
"version": "0.30.0"
},
{
"name": "line-ending-selector",
"version": "0.7.3"
},
{
"name": "link",
"version": "0.31.3"
},
{
"name": "linter",
"version": "2.2.0"
},
{
"name": "linter-csslint",
"version": "1.3.4"
},
{
"name": "linter-eslint",
"version": "8.2.1"
},
{
"name": "linter-flow",
"version": "5.6.1"
},
{
"name": "linter-ui-default",
"version": "1.6.7"
},
{
"name": "markdown-preview",
"version": "0.159.12"
},
{
"name": "markdown-preview-plus",
"version": "2.4.10"
},
{
"name": "merge-conflicts",
"version": "1.4.5"
},
{
"name": "metrics",
"version": "1.2.6"
},
{
"name": "minimap",
"version": "4.29.6"
},
{
"name": "northem-atom-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "northem-atom-ui",
"version": "2.1.0",
"theme": "ui"
},
{
"name": "northem-dark-atom-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "northem-dark-atom-ui",
"version": "2.1.0",
"theme": "ui"
},
{
"name": "northem-light-atom-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "northem-light-atom-ui",
"version": "2.1.1",
"theme": "ui"
},
{
"name": "notifications",
"version": "0.67.2"
},
{
"name": "oceanic-reef-syntax",
"version": "0.9.0",
"theme": "syntax"
},
{
"name": "one-dark-syntax",
"version": "1.7.1",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.10.5",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.7.1",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.10.5",
"theme": "ui"
},
{
"name": "open-in-browser",
"version": "0.5.2"
},
{
"name": "open-on-github",
"version": "1.2.1"
},
{
"name": "open-recent",
"version": "5.0.0"
},
{
"name": "package-generator",
"version": "1.1.1"
},
{
"name": "pigments",
"version": "0.40.2"
},
{
"name": "prettier-atom",
"version": "0.37.0"
},
{
"name": "project-manager",
"version": "3.3.5"
},
{
"name": "pure-syntax",
"version": "0.3.0",
"theme": "syntax"
},
{
"name": "rad-syntax",
"version": "0.4.0",
"theme": "syntax"
},
{
"name": "ramda-syntax",
"version": "1.0.4",
"theme": "syntax"
},
{
"name": "react-snippets",
"version": "0.9.0"
},
{
"name": "regex-railroad-diagram",
"version": "0.19.3"
},
{
"name": "script",
"version": "3.15.0"
},
{
"name": "seti-syntax",
"version": "1.1.3",
"theme": "syntax"
},
{
"name": "seti-ui",
"version": "1.9.0",
"theme": "ui"
},
{
"name": "settings-view",
"version": "0.250.0"
},
{
"name": "snippets",
"version": "1.1.4"
},
{
"name": "solarized-dark-syntax",
"version": "1.1.2",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.1.2",
"theme": "syntax"
},
{
"name": "sort-lines",
"version": "0.14.0"
},
{
"name": "spell-check",
"version": "0.71.4"
},
{
"name": "status-bar",
"version": "1.8.11"
},
{
"name": "styleguide",
"version": "0.49.6"
},
{
"name": "symbols-tree-view",
"version": "0.14.0"
},
{
"name": "symbols-view",
"version": "0.116.1"
},
{
"name": "sync-settings",
"version": "0.8.2"
},
{
"name": "tabs",
"version": "0.106.2"
},
{
"name": "tabs-to-spaces",
"version": "1.0.3"
},
{
"name": "textmate-cobalt-syntax",
"version": "0.1.0",
"theme": "syntax"
},
{
"name": "timecop",
"version": "0.36.0"
},
{
"name": "todo-show",
"version": "1.11.0"
},
{
"name": "tool-bar",
"version": "1.1.0"
},
{
"name": "tree-view",
"version": "0.217.2"
},
{
"name": "update-package-dependencies",
"version": "0.12.0"
},
{
"name": "vim-mode-plus",
"version": "0.97.2"
},
{
"name": "vivid-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "welcome",
"version": "0.36.4"
},
{
"name": "whitespace",
"version": "0.37.2"
},
{
"name": "wrap-guide",
"version": "0.40.2"
},
{
"name": "zentabs",
"version": "0.8.8"
}
]
[
{
title: "Pims"
group: "Work"
paths: [
"/Users/kyle/Work/pims"
]
}
]
{
"atom-beautify": {
"_analyticsUserId": "9cf2c109-9f16-425f-81c3-ebcf7e98084f",
"general": {
"_analyticsUserId": "0fb99841-062c-4c2a-bc0f-579ef6872b37"
}
},
"atom-material-ui": {
"colors": {
"abaseColor": "#2196f3",
"accentColor": "#ff8b2e",
"genAccent": true,
"paintCursor": true,
"predefinedColor": "Blue"
},
"fonts": {
"fontSize": 12
},
"tabs": {
"compactTabs": true,
"noTabMinWidth": true
},
"treeView": {
"compactList": true
},
"ui": {
"panelContrast": true,
"panelShadows": true
}
},
"atom-ternjs": {
"displayAboveSnippets": true,
"useSnippets": true
},
"autocomplete-modules": {
"babelPluginModuleResolver": true
},
"autocomplete-python": {
"useKite": false
},
"core": {
"audioBeep": false,
"customFileTypes": {
"source.ini": [
".buckconfig",
".flowconfig",
".hgrc"
],
"source.json": [
".arcconfig",
"BUCK.autodeps"
],
"source.python": [
"BUCK"
]
},
"disabledPackages": [
"git-log",
"vim-mode-plus",
"linter-csslint",
"language-gfm",
"flow-ide",
"flex-tool-bar",
"git-time-machine",
"linter-flow",
"minimap",
"symbols-tree-view",
"tool-bar"
],
"followSymlinks": false,
"ignoredNames": [
"node_modules",
"bower_components"
],
"projectHome": "/Users/Kyle/Projects",
"telemetryConsent": "no",
"themes": [
"atom-material-ui",
"atom-light-syntax"
],
"titleBar": "custom"
},
"docblockr": {},
"editor": {
"fontFamily": "Fira Code",
"fontSize": 11,
"invisibles": {},
"lineHeight": 1.7,
"preferredLineLength": 120,
"scrollPastEnd": true
},
"exception-reporting": {
"userId": "a10a243e-b2f2-19f4-1013-214ea7f0d249"
},
"file-watcher": {
"promptWhenFileHasChangedOnDisk": false
},
"flow-ide": {},
"git-history": {},
"git-plus": {
"general": {
"_analyticsUserId": "8144fe19-46f1-4a7a-af8c-e631cb955d98"
}
},
"highlight-line": {
"enableBackgroundColor": false,
"underline": "dashed"
},
"language-babel": {
"autoIndentJSX": true,
"suppressTranspileOnSaveMessages": false
},
"linter": {},
"linter-eslint": {},
"linter-flow": {
"executablePath": "./node_modules/.bin/flow"
},
"linter-jshint": {},
"linter-ui-default": {
"panelHeight": 81,
"showPanel": true
},
"markdown-preview": {
"useGitHubStyle": true
},
"markdown-preview-plus": {},
"minimap": {
"moveCursorOnMinimapClick": true,
"scrollAnimation": true
},
"node-debugger": {},
"nord-atom-ui": {
"darkerFormFocusEffect": true,
"tabSizing": false
},
"northem-dark-atom-ui": {
"tabSizing": false
},
"northem-light-atom-ui": {
"tabSizing": false
},
"one-light-ui": {
"fontSize": 12,
"layoutMode": "Spacious"
},
"prettier-atom": {
"bracketSpacing": false,
"formatOnSave": true,
"formatOnSaveOptions": {},
"silenceErrors": true,
"useEslint": true
},
"ruby-test": {
"rspecAllCommand": "spring rspec --tty spec",
"rspecFileCommand": "spring rspec --tty {relative_path}",
"specFramework": "rspec"
},
"seti-syntax": {
"dynamicColor": false
},
"seti-ui": {
"compactView": true,
"fileIcons": false,
"font": "Default Atom Font"
},
"split-diff": {
"diffWords": true,
"ignoreWhitespace": true,
"leftEditorColor": "red",
"rightEditorColor": "green",
"scrollSyncType": "Vertical + Horizontal",
"syncHorizontalScroll": true
},
"symbols-tree-view": {},
"sync-settings": {
"analytics": false,
"extraFiles": [
"toolbar.cson",
"projects.cson"
],
"quietUpdateCheck": true
},
"tool-bar": {
"iconSize": "16px",
"position": "Right"
},
"tree-view": {},
"ui": {
"fontFamily": "Fira Code"
},
"vim-mode-plus": {
"smoothScrollOnHalfScrollMotion": true,
"statusBarModeStringStyle": "long"
},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ignoreWhitespaceOnCurrentLine": false
},
"zentabs": {
"neverCloseUnsaved": true
}
}
# 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':
'New Angular Module':
'prefix': 'ngnew'
'body': '''
(function () {
\'use strict\';
angular
.module(\'${2:module}\')
.${3:type}(\'${4:name}\', ${5:name});
/* @ngInject */
function ${1:name}() {
\\}
\\})();
'''
'$log':
'prefix': 'nglog'
'body': '$log.log($1)'
'Then Catch':
'prefix': 'thenCatch'
'body': '''
.then((res) => {
})
.catch((err) => {
});
'''
'.text.html':
'Meta Tags':
'prefix': 'meta'
'body': '''
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page Title</title>
<!-- Social -->
<meta property="og:type" content="website" />
<meta property="og:site_name" content="">
<meta property="og:title" content="">
<meta property="og:description" content="">
<meta property="og:image" content="">
<meta property="og:url" content="">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image:alt" content="Alt text for image">
<meta property="fb:app_id" content="your_app_id">
<meta name="twitter:site" content="@website-username">
<link href="path/to/favicon-16.png" rel="icon" sizes="16x16" type="image/png">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
'''
atom-pane,
atom-panel,
atom-panel-container.left * {
font-family: "Monaco" !important;
}
.character-match {
font-weight: bold !important;
}
// .tool-bar-vertical .tool-bar-spacer {
// border-top: 1px solid #bbb !important;
// }
.controls .checkbox input {
border: 1px solid #444;
}
// .list-group li:not(.list-nested-item),
// .list-tree li:not(.list-nested-item),
// .list-group li.list-nested-item > .list-item,
// .list-tree li.list-nested-item > .list-item {
// font-size: 11px !important;
// font-family: "Fira Code" !important;
//
// &:hover {
// font-family: "Fira Code" !important;
// }
// }
# This file is used by Flex Tool Bar to create buttons on your Tool Bar.
# For more information how to use this package and create your own buttons
# read the documentation on https://atom.io/packages/flex-tool-bar
[
{
type: "button"
icon: "edit"
iconset: "ion"
callback: "flex-tool-bar:edit-config-file"
tooltip: "Edit Tool Bar"
}
{
type: "spacer"
}
{
type: "button"
icon: "play"
iconset: "ion"
callback: "script:run"
tooltip: "Run Script"
}
# {
# type: 'button'
# tooltip: 'Open File'
# callback: 'application:open-file'
# icon: 'document-text'
# iconset: 'ion'
# }
# {
# type: 'button'
# tooltip: 'Open Folder'
# callback: 'application:open-folder'
# icon: 'folder'
# iconset: 'ion'
# }
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Git Control'
dependency: 'git-control'
callback: 'git-control:toggle'
icon: 'bullseye'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'Git Projects'
dependency: 'git-projects'
callback: 'git-projects:toggle'
icon: 'git'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'Merge Conflicts'
dependency: 'merge-conflicts'
callback: 'merge-conflicts:detect'
icon: 'code-fork'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'List projects'
dependency: 'project-manager'
callback: 'project-manager:list-projects'
icon: 'file-submodule'
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Split screen - Horizontally'
callback: 'pane:split-right'
icon: 'format-horizontal-align-center'
iconset: 'mdi'
}
{
type: 'button'
tooltip: 'Split screen - Vertically'
callback: 'pane:split-down'
icon: 'format-vertical-align-center'
iconset: 'mdi'
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Toggle Fullscreen'
callback: 'window:toggle-full-screen'
icon: 'arrows-alt'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'Toggle Sidebar'
callback: 'tree-view:toggle'
icon: 'sitemap'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'Toggle Minimap'
dependency: 'minimap'
callback: 'minimap:toggle'
icon: 'map'
iconset: 'ion'
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Auto indent (selection)'
callback: 'editor:auto-indent'
icon: 'indent'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'Fold all'
callback: 'editor:fold-all'
icon: 'level-up'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'Unfold all'
callback: 'editor:unfold-all'
icon: 'level-down'
iconset: 'fa'
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Reload Window'
callback: 'window:reload'
icon: 'refresh'
iconset: 'ion'
}
{
type: 'button'
tooltip: 'Toggle Developer Tools'
callback: 'window:toggle-dev-tools'
icon: 'bug'
}
{
type: 'button'
tooltip: 'Open Settings View'
callback: 'settings-view:open'
icon: 'gear-a'
iconset: 'ion'
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment