Skip to content

Instantly share code, notes, and snippets.

@tairun
Last active November 15, 2015 13:31
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 tairun/d74f44384f16e7d74d9f to your computer and use it in GitHub Desktop.
Save tairun/d74f44384f16e7d74d9f to your computer and use it in GitHub Desktop.

https://atom.io/packages/sync-settings

  1. Open Sync Settings configuration in Atom Settings.
  2. Create a new personal access token which has the gist scope.
  3. Copy the access token to Sync Settings configuration.
  4. Create a new gist and save it.
  5. Copy the gist id (last part of url after the username) to Sync Settings configuration.
# 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
'atom-text-editor':
'ctrl-space': 'command-palette:toggle'
# 'atom-workspace':
# 'ctrl-shift-M': 'markdown-preview-plus:toggle'
# 'ctrl-,': 'settings-view:open'
'atom-text-editor:not([mini])':
'ctrl-,': 'unset!'
'ctrl-shift-M': 'unset!'
[
{
"name": "atom-beautify",
"version": "0.28.18"
},
{
"name": "atom-bootstrap3",
"version": "1.2.12"
},
{
"name": "autocomplete-paths",
"version": "1.0.2"
},
{
"name": "cdnjs",
"version": "1.5.0"
},
{
"name": "chary-tree-view",
"version": "0.2.3"
},
{
"name": "clipboard-plus",
"version": "0.5.1"
},
{
"name": "color-picker",
"version": "2.0.13"
},
{
"name": "drop-up",
"version": "0.4.0"
},
{
"name": "emmet",
"version": "2.3.14"
},
{
"name": "file-icons",
"version": "1.6.11"
},
{
"name": "gist",
"version": "0.2.8"
},
{
"name": "git-clone",
"version": "0.1.5"
},
{
"name": "git-control",
"version": "0.4.0"
},
{
"name": "git-hide",
"version": "0.1.2"
},
{
"name": "git-log",
"version": "0.4.1"
},
{
"name": "glist",
"version": "2.2.0"
},
{
"name": "language-vbscript",
"version": "0.6.1"
},
{
"name": "linter",
"version": "1.11.1"
},
{
"name": "linter-bootlint",
"version": "0.0.6"
},
{
"name": "linter-csslint",
"version": "1.1.0"
},
{
"name": "linter-jshint",
"version": "1.2.1"
},
{
"name": "linter-less",
"version": "2.2.0"
},
{
"name": "linter-php",
"version": "1.1.1"
},
{
"name": "livereload",
"version": "0.4.3"
},
{
"name": "markdown-preview-plus",
"version": "2.2.2"
},
{
"name": "markdown-themeable-pdf",
"version": "0.10.1"
},
{
"name": "markdown-toc",
"version": "0.3.0"
},
{
"name": "markdown-writer",
"version": "2.0.1"
},
{
"name": "merge-conflicts",
"version": "1.3.7"
},
{
"name": "meteor-api",
"version": "2.20.0"
},
{
"name": "meteor-assist",
"version": "0.1.0"
},
{
"name": "meteor-helper",
"version": "0.27.0"
},
{
"name": "meteor-snippets",
"version": "0.5.0"
},
{
"name": "minimap",
"version": "4.16.0"
},
{
"name": "minimap-git-diff",
"version": "4.1.8"
},
{
"name": "pdf-view",
"version": "0.34.0"
},
{
"name": "php-server",
"version": "0.7.0"
},
{
"name": "pigments",
"version": "0.18.1"
},
{
"name": "rulerz",
"version": "0.4.1"
},
{
"name": "sync-settings",
"version": "0.6.0"
},
{
"name": "tidy-markdown",
"version": "1.0.0"
},
{
"name": "todo-show",
"version": "0.16.0"
},
{
"name": "tool-bar",
"version": "0.1.9"
},
{
"name": "tool-bar-almighty",
"version": "0.2.2"
},
{
"name": "trailing-spaces",
"version": "0.3.2"
},
{
"name": "tree-view-git-branch",
"version": "0.0.6"
},
{
"name": "tree-view-git-projects",
"version": "0.5.0"
},
{
"name": "tree-view-git-status",
"version": "0.2.2"
},
{
"name": "atom-dark-syntax",
"version": "0.27.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.51.0",
"theme": "ui"
},
{
"name": "atom-light-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.43.0",
"theme": "ui"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.1.5",
"theme": "ui"
},
{
"name": "one-dark-syntax",
"version": "1.1.1",
"theme": "syntax"
},
{
"name": "one-light-syntax",
"version": "1.1.1",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.1.5",
"theme": "ui"
},
{
"name": "solarized-dark-syntax",
"version": "0.38.1",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "0.22.1",
"theme": "syntax"
},
{
"name": "about",
"version": "1.1.0"
},
{
"name": "archive-view",
"version": "0.61.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.9.2"
},
{
"name": "autocomplete-css",
"version": "0.11.0"
},
{
"name": "autocomplete-html",
"version": "0.7.2"
},
{
"name": "autocomplete-plus",
"version": "2.22.0"
},
{
"name": "autocomplete-snippets",
"version": "1.7.1"
},
{
"name": "autoflow",
"version": "0.26.0"
},
{
"name": "autosave",
"version": "0.22.0"
},
{
"name": "background-tips",
"version": "0.26.0"
},
{
"name": "bookmarks",
"version": "0.38.0"
},
{
"name": "bracket-matcher",
"version": "0.78.0"
},
{
"name": "command-palette",
"version": "0.36.0"
},
{
"name": "deprecation-cop",
"version": "0.54.0"
},
{
"name": "dev-live-reload",
"version": "0.47.0"
},
{
"name": "encoding-selector",
"version": "0.21.0"
},
{
"name": "exception-reporting",
"version": "0.37.0"
},
{
"name": "find-and-replace",
"version": "0.185.0"
},
{
"name": "fuzzy-finder",
"version": "0.90.0"
},
{
"name": "git-diff",
"version": "0.56.0"
},
{
"name": "go-to-line",
"version": "0.30.0"
},
{
"name": "grammar-selector",
"version": "0.47.0"
},
{
"name": "image-view",
"version": "0.55.0"
},
{
"name": "incompatible-packages",
"version": "0.25.0"
},
{
"name": "keybinding-resolver",
"version": "0.33.0"
},
{
"name": "line-ending-selector",
"version": "0.2.0"
},
{
"name": "link",
"version": "0.31.0"
},
{
"name": "markdown-preview",
"version": "0.154.0"
},
{
"name": "metrics",
"version": "0.53.0"
},
{
"name": "notifications",
"version": "0.59.0"
},
{
"name": "open-on-github",
"version": "0.38.0"
},
{
"name": "package-generator",
"version": "0.40.0"
},
{
"name": "release-notes",
"version": "0.53.0"
},
{
"name": "settings-view",
"version": "0.230.0"
},
{
"name": "snippets",
"version": "0.100.0"
},
{
"name": "spell-check",
"version": "0.61.0"
},
{
"name": "status-bar",
"version": "0.79.0"
},
{
"name": "styleguide",
"version": "0.44.0"
},
{
"name": "symbols-view",
"version": "0.109.0"
},
{
"name": "tabs",
"version": "0.84.0"
},
{
"name": "timecop",
"version": "0.33.0"
},
{
"name": "tree-view",
"version": "0.190.0"
},
{
"name": "update-package-dependencies",
"version": "0.10.0"
},
{
"name": "welcome",
"version": "0.30.0"
},
{
"name": "whitespace",
"version": "0.31.0"
},
{
"name": "wrap-guide",
"version": "0.38.0"
},
{
"name": "language-c",
"version": "0.48.0"
},
{
"name": "language-clojure",
"version": "0.18.0"
},
{
"name": "language-coffee-script",
"version": "0.42.0"
},
{
"name": "language-csharp",
"version": "0.11.0"
},
{
"name": "language-css",
"version": "0.34.0"
},
{
"name": "language-gfm",
"version": "0.81.0"
},
{
"name": "language-git",
"version": "0.10.0"
},
{
"name": "language-go",
"version": "0.39.0"
},
{
"name": "language-html",
"version": "0.42.0"
},
{
"name": "language-hyperlink",
"version": "0.14.0"
},
{
"name": "language-java",
"version": "0.16.0"
},
{
"name": "language-javascript",
"version": "0.96.0"
},
{
"name": "language-json",
"version": "0.17.0"
},
{
"name": "language-less",
"version": "0.28.2"
},
{
"name": "language-make",
"version": "0.19.0"
},
{
"name": "language-mustache",
"version": "0.13.0"
},
{
"name": "language-objective-c",
"version": "0.15.0"
},
{
"name": "language-perl",
"version": "0.30.0"
},
{
"name": "language-php",
"version": "0.30.0"
},
{
"name": "language-property-list",
"version": "0.8.0"
},
{
"name": "language-python",
"version": "0.40.0"
},
{
"name": "language-ruby",
"version": "0.60.0"
},
{
"name": "language-ruby-on-rails",
"version": "0.23.0"
},
{
"name": "language-sass",
"version": "0.42.0"
},
{
"name": "language-shellscript",
"version": "0.19.0"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.17.0"
},
{
"name": "language-text",
"version": "0.7.0"
},
{
"name": "language-todo",
"version": "0.27.0"
},
{
"name": "language-toml",
"version": "0.16.0"
},
{
"name": "language-xml",
"version": "0.33.0"
},
{
"name": "language-yaml",
"version": "0.24.0"
}
]
{
"exception-reporting": {
"userId": "7e1bb946-e2c5-819e-2447-242b56752e39"
},
"welcome": {
"showOnStartup": false
},
"core": {
"themes": [
"one-dark-ui",
"base16-tomorrow-dark-theme"
],
"audioBeep": false,
"autoHideMenuBar": true,
"packagesWithKeymapsDisabled": [
"markdown-preview"
],
"openEmptyEditorOnStart": false
},
"editor": {
"invisibles": {},
"showIndentGuide": true,
"fontSize": 15,
"backUpBeforeSaving": true,
"scrollPastEnd": true,
"softWrap": true,
"softWrapAtPreferredLineLength": true,
"preferredLineLength": 500,
"tabLength": 3
},
"atom-beautify": {
"analytics": false
},
"linter": {
"errorPanelHeight": 366,
"alwaysTakeMinimumSpace": false,
"showErrorTabLine": true,
"showErrorPanel": false
},
"minimap": {
"absoluteMode": true,
"plugins": {
"git-diff": true
},
"displayMinimapOnLeft": true,
"scrollAnimation": true
},
"markdown-preview": {
"useGitHubStyle": true
},
"tree-view": {
"showOnRightSide": true
},
"autohide-tree-view": {
"showDelay": 50,
"animationSpeed": 0,
"pushEditor": true
},
"git-hide": {
"hideOnStartup": false
},
"git-clone": {
"target_directory": "C:\\_localUserData\\github\\temp"
},
"markdown-themeable-pdf": {
"codeHighlightingTheme": "github.css",
"enableXHTML": true
},
"one-dark-ui": {
"layoutMode": "Compact"
},
"color-tabs": {
"backgroundStyle": "none",
"borderStyle": "bottom",
"markerStyle": "corner"
},
"markdown-writer": {
"tableAlignment": "left",
"siteEngine": "octopress"
},
"tidy-markdown": {
"runOnSave": false
},
"markdown-preview-plus": {
"useLazyHeaders": false,
"useGitHubStyle": true
},
"whitespace": {
"ensureSingleTrailingNewline": false,
"ignoreWhitespaceOnlyLines": true
},
"trailing-spaces": {
"enableForCursorLines": true,
"enableForIndentation": true
},
"gist": {
"token": "de8c4373e632fc005f977131102b2de1a102970c"
},
"SFTP-deployment": {
"uploadOnSave": false
},
"tool-bar": {
"position": "Left",
"iconSize": "16px"
},
"pigments": {
"traverseIntoSymlinkDirectories": true
},
"livereload": {
"applyJSLive": true
},
"todo-show": {
"openListInDirection": "ontop"
},
"autocomplete-plus": {
"confirmCompletion": "tab"
},
"tree-view-git-projects": {
"multiRoot": false
},
"find-and-replace": {
"scrollToResultOnLiveSearch": true,
"openProjectFindResultsInRightPane": true
},
"git-plus": {},
"php-class-tree": {
"displayOnRight": true
},
"tabs": {
"enableVcsColoring": true
},
"one-light-ui": {
"layoutMode": "Compact"
},
"file-icons": {
"coloured": false,
"tabPaneIcon": false,
"onChanges": true
},
"linter-bootlint": {},
"php-server": {},
"meteor-helper": {},
"linter-php": {}
}
# 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
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
.tree-view {
}
// style the background and foreground colors on the atom-text-editor-element
// itself
atom-text-editor {
}
// To style other content in the text editor's shadow DOM, use the ::shadow
// expression
atom-text-editor::shadow .cursor {
}
atom-text-editor::shadow .git-line-added {
background-color: @background-color-success;
border-left: none !important;
}
atom-text-editor::shadow .git-line-added.cursor-line {
background-color: @background-color-success*0.9;
border-left: none !important;
}
atom-text-editor::shadow .git-line-modified {
background-color: @background-color-warning;
border-left: none !important;
}
atom-text-editor::shadow .git-line-modified.cursor-line {
background-color: @background-color-warning*0.9;
border-left: none !important;
}
.scrollbars-visible-always /deep/ ::-webkit-scrollbar-thumb {
border-radius: 0px !important;
border: none !important;
}
atom-text-editor::shadow .indent-guide {
box-shadow: none;
}
atom-text-editor::shadow .gutter {
border-left: 2px solid #373b41;
}
atom-text-editor::shadow .gutter {
border-right-style: none;
}
atom-text-editor::shadow div > div > div.gutter-container > div:nth-child(2) {
border-left-style: none;
}
atom-notifications {
top: @tab-height;
left: 35px;
right: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment