Skip to content

Instantly share code, notes, and snippets.

@mygnu
Last active July 19, 2017 14:21
Show Gist options
  • Save mygnu/58d5329ebdcdd6fdb261082ec7bb344b to your computer and use it in GitHub Desktop.
Save mygnu/58d5329ebdcdd6fdb261082ec7bb344b 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
#
# 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
'.platform-linux, .platform-linux .command-palette atom-text-editor':
'f9': 'command-palette:toggle'
'body':
'f8': 'core:save'
'atom-workspace atom-text-editor:not([mini])':
'alt-a': 'editor:move-to-beginning-of-line'
'alt-;': 'comment-dwim-light:toggle'
'ctrl-;': 'editor:toggle-line-comments'
'alt-enter': 'trailing-semicolon:semicolon-newline'
'alt-z': 'trailing-semicolon:semicolon'
[
{
"name": "about",
"version": "1.7.6"
},
{
"name": "activate-power-mode",
"version": "2.0.0"
},
{
"name": "archive-view",
"version": "0.63.2"
},
{
"name": "atom-beautify",
"version": "0.30.4"
},
{
"name": "atom-clock",
"version": "0.1.13"
},
{
"name": "atom-dark-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.0",
"theme": "ui"
},
{
"name": "atom-easy-jsdoc",
"version": "4.12.1"
},
{
"name": "atom-light-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.0",
"theme": "ui"
},
{
"name": "atom-ternjs",
"version": "0.18.3"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.1"
},
{
"name": "autocomplete-css",
"version": "0.16.1"
},
{
"name": "autocomplete-html",
"version": "0.7.3"
},
{
"name": "autocomplete-paths",
"version": "1.0.5"
},
{
"name": "autocomplete-plus",
"version": "2.35.3"
},
{
"name": "autocomplete-snippets",
"version": "1.11.0"
},
{
"name": "autoflow",
"version": "0.29.0"
},
{
"name": "autosave",
"version": "0.24.2"
},
{
"name": "autoupdate-packages",
"version": "1.3.1"
},
{
"name": "background-tips",
"version": "0.27.0"
},
{
"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.3"
},
{
"name": "bracket-matcher",
"version": "0.85.5"
},
{
"name": "busy-signal",
"version": "1.4.3"
},
{
"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": "encoding-selector",
"version": "0.23.3"
},
{
"name": "exception-reporting",
"version": "0.41.4"
},
{
"name": "file-icons",
"version": "2.1.9"
},
{
"name": "find-and-replace",
"version": "0.208.3"
},
{
"name": "fuzzy-finder",
"version": "1.5.8"
},
{
"name": "git-control",
"version": "0.9.0"
},
{
"name": "git-diff",
"version": "1.3.5"
},
{
"name": "git-diff-details",
"version": "1.4.0"
},
{
"name": "git-time-machine",
"version": "1.5.9"
},
{
"name": "go-to-line",
"version": "0.32.0"
},
{
"name": "grammar-selector",
"version": "0.49.4"
},
{
"name": "image-view",
"version": "0.61.2"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "intentions",
"version": "1.1.2"
},
{
"name": "keybinding-resolver",
"version": "0.38.0"
},
{
"name": "language-c",
"version": "0.57.0"
},
{
"name": "language-clojure",
"version": "0.22.2"
},
{
"name": "language-coffee-script",
"version": "0.48.6"
},
{
"name": "language-csharp",
"version": "0.14.2"
},
{
"name": "language-css",
"version": "0.42.2"
},
{
"name": "language-gfm",
"version": "0.88.1"
},
{
"name": "language-git",
"version": "0.19.0"
},
{
"name": "language-go",
"version": "0.43.1"
},
{
"name": "language-html",
"version": "0.47.2"
},
{
"name": "language-hyperlink",
"version": "0.16.1"
},
{
"name": "language-java",
"version": "0.27.0"
},
{
"name": "language-javascript",
"version": "0.126.1"
},
{
"name": "language-json",
"version": "0.19.0"
},
{
"name": "language-less",
"version": "0.32.0"
},
{
"name": "language-make",
"version": "0.22.3"
},
{
"name": "language-mustache",
"version": "0.13.1"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.37.0"
},
{
"name": "language-php",
"version": "0.38.0"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.45.2"
},
{
"name": "language-ruby",
"version": "0.71.0"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.2"
},
{
"name": "language-sass",
"version": "0.59.0"
},
{
"name": "language-shellscript",
"version": "0.25.0"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.4"
},
{
"name": "language-stylus",
"version": "0.2.0"
},
{
"name": "language-text",
"version": "0.7.2"
},
{
"name": "language-todo",
"version": "0.29.1"
},
{
"name": "language-toml",
"version": "0.18.1"
},
{
"name": "language-vue",
"version": "0.23.0"
},
{
"name": "language-xml",
"version": "0.35.0"
},
{
"name": "language-yaml",
"version": "0.29.0"
},
{
"name": "line-ending-selector",
"version": "0.6.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-ui-default",
"version": "1.6.2"
},
{
"name": "linter-write-good",
"version": "0.9.0"
},
{
"name": "markdown-preview",
"version": "0.159.12"
},
{
"name": "markdown-scroll-sync",
"version": "2.1.2"
},
{
"name": "markdown-writer",
"version": "2.6.5"
},
{
"name": "metrics",
"version": "1.2.5"
},
{
"name": "minimap",
"version": "4.28.3"
},
{
"name": "notifications",
"version": "0.67.2"
},
{
"name": "one-dark-syntax",
"version": "1.7.1",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.10.3",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.7.1",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.10.3",
"theme": "ui"
},
{
"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.39.1"
},
{
"name": "prettier-atom",
"version": "0.36.1"
},
{
"name": "seti-syntax",
"version": "1.1.3",
"theme": "syntax"
},
{
"name": "seti-ui",
"version": "1.9.0",
"theme": "ui"
},
{
"name": "settings-view",
"version": "0.249.4"
},
{
"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.7"
},
{
"name": "styleguide",
"version": "0.49.6"
},
{
"name": "symbols-view",
"version": "0.115.5"
},
{
"name": "sync-settings",
"version": "0.8.2"
},
{
"name": "tabs",
"version": "0.106.0"
},
{
"name": "tag",
"version": "0.5.0"
},
{
"name": "terminal-fusion",
"version": "2.4.4"
},
{
"name": "timecop",
"version": "0.36.0"
},
{
"name": "tool-bar",
"version": "1.1.0"
},
{
"name": "tool-bar-almighty",
"version": "0.8.2"
},
{
"name": "tree-view",
"version": "0.217.1"
},
{
"name": "update-package-dependencies",
"version": "0.12.0"
},
{
"name": "vue2-autocomplete",
"version": "0.1.0-alpha.4"
},
{
"name": "welcome",
"version": "0.36.3"
},
{
"name": "whitespace",
"version": "0.36.2"
},
{
"name": "wrap-guide",
"version": "0.40.1"
}
]
{
"activate-power-mode": {
"comboMode": {
"enabled": false,
"opacity": 0.4
},
"particles": {
"colours": {},
"size": {
"max": 5,
"min": 1
},
"spawnCount": {}
},
"playAudio": {
"audioclip": "../audioclips/typewriter.wav",
"volume": 0.2
},
"plugins": {
"playAudio": true,
"screenShake": true
},
"screenShake": {
"maxIntensity": 2
}
},
"atom-beautify": {
"general": {
"analytics": false
},
"js": {
"brace_style": "collapse-preserve-inline",
"end_with_newline": true,
"jslint_happy": true,
"keep_array_indentation": true,
"max_preserve_newlines": 2,
"space_after_anon_function": false,
"space_in_paren": true,
"wrap_line_length": 100
},
"jsx": {
"brace_style": "collapse-preserve-inline",
"end_with_newline": true,
"jslint_happy": true,
"keep_array_indentation": true,
"max_preserve_newlines": 2,
"wrap_line_length": 100
},
"sass": {
"disabled": true
},
"vue": {
"brace_style": "collapse-preserve-inline",
"end_with_newline": true,
"indent_inner_html": true,
"indent_scripts": "keep",
"indent_size": 2,
"jslint_happy": true,
"keep_array_indentation": true,
"max_preserve_newlines": 1,
"space_after_anon_function": true,
"unescape_strings": true,
"wrap_line_length": 80
}
},
"atom-clock": {
"dateFormat": "MMMM Do, dddd, h:mm a"
},
"atom-easy-jsdoc": {
"beta": true,
"useReturns": true
},
"atom-package-deps": {
"ignored": []
},
"atom-ternjs": {
"excludeLowerPriorityProviders": true,
"inlineFnCompletionDocumentation": true,
"snippetsFirst": true,
"useSnippets": true,
"useSnippetsAndFunction": true
},
"autoclose-html": {
"makeNeverCloseSelfClosing": false
},
"autocomplete-plus": {
"backspaceTriggersAutocomplete": false,
"confirmCompletion": "enter",
"enableExtendedUnicodeSupport": true,
"minimumWordLength": 2
},
"autoupdate-packages": {
"lastUpdateTimestamp": 1500457962115
},
"core": {
"disabledPackages": [
"autocomplete-atom-api",
"autosave",
"language-csharp",
"language-gfm",
"language-go",
"language-java",
"language-make",
"language-mustache",
"language-objective-c",
"language-perl",
"language-php",
"language-python",
"language-ruby",
"language-ruby-on-rails",
"language-sql",
"linter-write-good"
],
"openEmptyEditorOnStart": false,
"packagesWithKeymapsDisabled": [
"activate-power-mode",
"zentabs",
"trailing-semicolon",
"atom-ternjs",
"comment-dwim-light"
],
"projectHome": "/home/user/Projects",
"telemetryConsent": "no",
"themes": [
"seti-ui",
"seti-syntax"
]
},
"editor": {
"backUpBeforeSaving": true,
"fontFamily": "Monoid",
"fontSize": 16,
"invisibles": {
"eol": " "
},
"preferredLineLength": 100,
"scrollPastEnd": true,
"showIndentGuide": true,
"showInvisibles": true,
"tabType": "soft"
},
"exception-reporting": {
"userId": "152f804b-74b1-2ee1-46ce-ec2bbb678402"
},
"file-icons": {
"forceShow": true
},
"fold-comments": {
"autofold": true
},
"git-diff-details": {
"enableSyntaxHighlighting": true
},
"git-plus": {
"general": {
"_analyticsUserId": "71bf776e-c39d-41cf-a7c5-77c80901676a"
}
},
"js-hyperclick": {
"extensions": [
".js",
".json",
".node",
".jsx"
]
},
"linter": {},
"linter-eslint": {
"globalNodePath": "/home/user/.nvm/versions/node/v8.0.0",
"lintHtmlFiles": true
},
"linter-ui-default": {
"panelHeight": 56,
"showPanel": true,
"tooltipFollows": "Mouse"
},
"linter-write-good": {
"nodePath": "/home/user/.nvm/versions/node/v7.8.0/bin/node",
"severityLevel": "Info"
},
"minimap": {
"absoluteMode": true,
"adjustAbsoluteModeHeight": true,
"plugins": {
"codeglance": true,
"codeglanceDecorationsZIndex": 0
},
"scrollAnimation": true
},
"minimap-codeglance": {
"numberOfLines": 10
},
"open-in-browsers": {
"IE": false,
"Opera": false,
"Safari": false
},
"pigments": {
"extendAutocompleteToColorValue": true,
"markerType": "native-background",
"mergeColorDuplicates": true
},
"prettier-atom": {
"formatOnSaveOptions": {
"enabled": true,
"showInStatusBar": true
},
"prettierEslintOptions": {},
"prettierOptions": {
"printWidth": 100,
"singleQuote": true
},
"silenceErrors": false,
"useEditorConfig": false,
"useEslint": true
},
"react": {},
"seti-syntax": {},
"seti-ui": {
"compactView": true,
"fileIcons": false,
"themeColor": "Red"
},
"split-diff": {
"diffWords": true,
"ignoreWhitespace": true,
"leftEditorColor": "red",
"rightEditorColor": "green",
"scrollSyncType": "Vertical + Horizontal",
"syncHorizontalScroll": true
},
"sync-settings": {},
"terminal-fusion": {
"core": {
"shell": "/usr/bin/zsh"
},
"style": {
"fontFamily": "monoid",
"fontSize": "16",
"theme": "dracula"
},
"toggles": {
"autoClose": true
}
},
"terminal-plus": {
"core": {}
},
"tool-bar": {
"position": "Left"
},
"trailing-semicolon": {
"behaviorAll": "Do nothing"
},
"tree-view": {
"hideVcsIgnoredFiles": false
},
"welcome": {
"showOnStartup": false
},
"zentabs": {
"maximumOpenedTabs": 10,
"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:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
/*
* 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)
*/
// atom-text-editor {
// text-rendering: optimizeLegibility;
//
// &.editor .syntax--string.syntax--quoted,
// &.editor .syntax--string.syntax--regexp {
// -webkit-font-feature-settings: "liga" off, "calt" off;
// }
// }
//
// atom-text-editor.editor {
// /*
// Transform certain attributes into flottflott:
// - this
// - html attributes
// */
// .syntax--string.syntax--quoted,
// .syntax--string.syntax--regexp {
// -webkit-font-feature-settings: "liga" off, "calt" off;
// }
//
// .syntax--JSXAttrs > .syntax--attribute-name,
// .syntax--html > .syntax--attribute-name,
// .syntax--js > .syntax--this,
// .syntax--js > .syntax--keyword,
//
// {
// // flottflott is italic in itself, don't let atom make it italic
// font-family: 'flottflott';
// font-style: normal !important;
// vertical-align: baseline;
// height: inherit;
// font-size: 160%;
// line-height: 100%;
// }
//
// .syntax--js > .syntax--arrow,
// .syntax--js > .syntax--operator,
// // .syntax--js > .syntax--type,
// {
// // flottflott is italic in itself, don't let atom make it italic
// // font-style: normal !important;
// // vertical-align: baseline;
// font-family: 'Monoid';
// height: inherit;
// font-size: 100%;
// line-height: 100%;
// color: lightblue;
// }
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment