Skip to content

Instantly share code, notes, and snippets.

@ctuxboy
Last active February 10, 2019 20:56
Show Gist options
  • Save ctuxboy/696bf721fd28f33b4e2c49a517e7f2d9 to your computer and use it in GitHub Desktop.
Save ctuxboy/696bf721fd28f33b4e2c49a517e7f2d9 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:
# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings
# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * http://flight-manual.atom.io/hacking-atom/sections/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:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson
[
{
"name": "about",
"version": "1.9.1"
},
{
"name": "archive-view",
"version": "0.65.1"
},
{
"name": "atom-beautify",
"version": "0.33.4"
},
{
"name": "atom-bulma",
"version": "0.7.1"
},
{
"name": "atom-dark-syntax",
"version": "0.29.1",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.3",
"theme": "ui"
},
{
"name": "atom-formatter-jsbeautify",
"version": "1.1.2"
},
{
"name": "atom-light-syntax",
"version": "0.29.1",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.3",
"theme": "ui"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.7"
},
{
"name": "autocomplete-css",
"version": "0.17.5"
},
{
"name": "autocomplete-html",
"version": "0.8.8"
},
{
"name": "autocomplete-plus",
"version": "2.42.0"
},
{
"name": "autocomplete-snippets",
"version": "1.12.0"
},
{
"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": "bookmarks",
"version": "0.45.1"
},
{
"name": "bracket-matcher",
"version": "0.90.4"
},
{
"name": "color-picker",
"version": "2.3.0"
},
{
"name": "command-palette",
"version": "0.43.5"
},
{
"name": "dalek",
"version": "0.2.2"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.48.1"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "encoding-selector",
"version": "0.23.9"
},
{
"name": "exception-reporting",
"version": "0.43.1"
},
{
"name": "file-icons",
"version": "2.1.29"
},
{
"name": "find-and-replace",
"version": "0.215.14"
},
{
"name": "formatter",
"version": "2.12.4"
},
{
"name": "ftp-remote-edit",
"version": "0.12.23"
},
{
"name": "fuzzy-finder",
"version": "1.8.2"
},
{
"name": "git-diff",
"version": "1.3.9"
},
{
"name": "git-plus",
"version": "8.6.0"
},
{
"name": "github",
"version": "0.23.3"
},
{
"name": "go-to-line",
"version": "0.33.0"
},
{
"name": "grammar-selector",
"version": "0.50.1"
},
{
"name": "ide-vue",
"version": "0.1.9"
},
{
"name": "image-view",
"version": "0.63.1"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "keybinding-resolver",
"version": "0.38.4"
},
{
"name": "language-c",
"version": "0.60.14"
},
{
"name": "language-clojure",
"version": "0.22.7"
},
{
"name": "language-coffee-script",
"version": "0.49.3"
},
{
"name": "language-csharp",
"version": "1.1.0"
},
{
"name": "language-css",
"version": "0.43.0"
},
{
"name": "language-gfm",
"version": "0.90.6"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.46.6"
},
{
"name": "language-html",
"version": "0.51.5"
},
{
"name": "language-hyperlink",
"version": "0.17.0"
},
{
"name": "language-java",
"version": "0.31.1"
},
{
"name": "language-javascript",
"version": "0.129.19"
},
{
"name": "language-json",
"version": "0.19.2"
},
{
"name": "language-less",
"version": "0.34.3"
},
{
"name": "language-make",
"version": "0.23.0"
},
{
"name": "language-mustache",
"version": "0.14.5"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.38.1"
},
{
"name": "language-php",
"version": "0.44.1"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.51.8"
},
{
"name": "language-ruby",
"version": "0.72.14"
},
{
"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.27.9"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.10"
},
{
"name": "language-text",
"version": "0.7.4"
},
{
"name": "language-todo",
"version": "0.29.4"
},
{
"name": "language-toml",
"version": "0.18.2"
},
{
"name": "language-typescript",
"version": "0.4.11"
},
{
"name": "language-xml",
"version": "0.35.3"
},
{
"name": "language-yaml",
"version": "0.32.0"
},
{
"name": "line-ending-selector",
"version": "0.7.7"
},
{
"name": "link",
"version": "0.31.6"
},
{
"name": "markdown-preview",
"version": "0.159.25"
},
{
"name": "metrics",
"version": "1.6.2"
},
{
"name": "minimap",
"version": "4.29.9"
},
{
"name": "notifications",
"version": "0.70.5"
},
{
"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-on-github",
"version": "1.3.1"
},
{
"name": "package-generator",
"version": "1.3.0"
},
{
"name": "php-twig",
"version": "4.0.0"
},
{
"name": "pigments",
"version": "0.40.2"
},
{
"name": "settings-view",
"version": "0.257.2"
},
{
"name": "snippets",
"version": "1.4.0"
},
{
"name": "solarized-dark-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.74.2"
},
{
"name": "status-bar",
"version": "1.8.15"
},
{
"name": "styleguide",
"version": "0.49.12"
},
{
"name": "symbols-view",
"version": "0.118.2"
},
{
"name": "sync-settings",
"version": "0.8.6"
},
{
"name": "tabs",
"version": "0.109.2"
},
{
"name": "timecop",
"version": "0.36.2"
},
{
"name": "tree-view",
"version": "0.224.5"
},
{
"name": "update-package-dependencies",
"version": "0.13.1"
},
{
"name": "welcome",
"version": "0.36.7"
},
{
"name": "whitespace",
"version": "0.37.7"
},
{
"name": "wrap-guide",
"version": "0.40.3"
}
]
{
"atom-beautify": {
"html": {
"beautify_on_save": true,
"wrap_attributes": "force"
}
},
"core": {
"disabledPackages": [
"atom-beautify"
],
"restorePreviousWindowsOnStart": "no",
"telemetryConsent": "no"
},
"editor": {
"fontSize": 16,
"softWrap": true
},
"exception-reporting": {
"userId": "aa573efa-543c-4e7d-8278-1436fd0c8bd2"
},
"ftp-remote-edit": {
"config": "02ff4cc89df2d7efd0f127554587413652f8ac583ef987f4ade66e5793edfadfabf12a344546fc2162631fa63625bdba2ca41a5602b16fd195e6f8918468ce1a8157e836703673abf90efa67b3569766f76c5c592980043ddb3c99dafe214ffac29445bc240740316755a0d0456287378fbb9ddcdcd5f3e415cfcff8639cbce8e9255352481527933681ce7aad35e33cba5b1f2e448a84b051c97c95c136de6edb72d9127ab1d2b3ac177a2753cbfe17576bf0b79a05ec9aaa6ef71537f7d183603093bc48843244360c4358075e6323efb536f686ad637346139b19bac042d569fcd73a1fef69e7357b9d71f47061c9dea2a6472e314e81a32016212cf59ad9fb61e6eb1cb0c75c1bd553d287b68124a08d5359c3b70e0e007a9ac2b6637a051f979e5bd233211ae3257fdfc2508ed00d820a0260dd8d14647543500a5dc9002c7c6a35bfe9a34f49f19faf8c1ff680b5239bc408313ea34a267a8b819f42e3192ce7da386d8abbf1a08a100daaa99bb422a33a1f9880a69c14832072b06fa6b050ebf1566ddc23c5f8037bd070c52cacbf7cf7631dc4f5b2b8bcff7a0f595550702aa497ca3d295c44961e5b989563ff08afb98b24d4f9051e90c5f3b7a4d7d7f9349d4affa7f64d0ad8f47252a96eb1bd42daf2840892006a5b768469a5618635ae81db44f325e4d6e23bcee3adcde23940aaed17f2f821727b61319e36043c27837f2c1813a7ac373ebe95a4c760149e351cbc000be346b698256dd88a1a9e8494036fe2690587523275662e0cfcc50bd86d8770fc71d14a9aa62cf601ac51384deee3e081f01a1b4b94e40b4feed7e73195497e026c260dc5a1f87b4280403ab147491061f2742b9f049a4dcf14cc0eb2d918baa85adc8deeb4f7b6d56497cdcb02841bfe60227ab95b86f60b75ce510d0677ce97cd825b446a8d002ce334e27620c5f14f9aea3b51c925b6b2c0f39f1c2c55c3280b398384ed332e340f4ef06ea72b20806daa56a18169b179a55affc880df4002bfba5c683046db27393e100ab55a96da3ca653dfc34943053f462968b01f0ef26f54b6afb2e644bf41523e17601ee83ec098cddb5f794900b0842bcaaff0e1a3fb805bd224f04c9367bcfd92b946d904b6d7cfc6e091999daee23684303f72e8012f2c22584155c474351bab7cffc0b4d6e01e522f03429bc679305c24bcb78d5e413d464c0a0aa49d693629684bfce47dfea47820792b3a20a886efd0ff21dbe31c33c5afc9391e02dcce7b",
"password": "1ff60bc398f0fff9dbec542e",
"tree": {
"showHiddenFiles": true,
"showOnRightSide": false,
"toggleOnStartup": true
}
},
"sync-settings": {},
"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:
# 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)
*/
// 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%);
}
// style UI elements inside atom-text-editor
atom-text-editor .cursor {
// border-color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment