Skip to content

Instantly share code, notes, and snippets.

@zhu2688
Last active December 30, 2016 09:52
Show Gist options
  • Select an option

  • Save zhu2688/c093c8a3a6836d80b5042a62f273d411 to your computer and use it in GitHub Desktop.

Select an option

Save zhu2688/c093c8a3a6836d80b5042a62f273d411 to your computer and use it in GitHub Desktop.
sync atom settings
# 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/#_cson
[
{
title: "cb"
paths: [
"D:\\workspace\\website\\cblive\\lib"
"D:\\workspace\\website\\cblive\\server"
"D:\\workspace\\website\\cblive\\web"
"D:\\workspace\\git\\xhprof_server"
"D:\\workspace\\git\\my-yafblog"
]
devMode: true
php:
enabled: true
php_integrator:
enabled: true
phpVersion: 5.6
excludedPaths: []
fileExtensions: [
"php"
]
}
{
title: "gj"
paths: [
"D:\\workspace\\website\\videochat\\web"
"D:\\workspace\\website\\videochat\\lib"
"D:\\workspace\\website\\videochat\\server"
]
devMode: true
php:
enabled: true
php_integrator:
enabled: true
phpVersion: 5.6
excludedPaths: []
fileExtensions: [
"php"
]
}
{
title: "atom_yaf"
paths: [
"C:\\Users\\win7\\github\\atom-yaf"
]
devMode: true
}
{
title: "yafblog"
paths: [
"D:\\workspace\\git\\my-yafblog"
]
devMode: true
php:
enabled: true
php_integrator:
enabled: true
phpVersion: 5.6
excludedPaths: []
fileExtensions: [
"php"
]
}
{
title: "Dbd"
paths: [
"D:\\workspace\\SVN\\dbdrepos\\dbd"
]
devMode: true
php:
enabled: true
php_integrator:
enabled: true
phpVersion: 5.6
excludedPaths: []
fileExtensions: [
"php"
]
}
]
{
"activate-power-mode": {
"comboMode": {
"enabled": false
},
"screenShake": {
"enabled": false
}
},
"atom-beautify": {
"general": {
"_analyticsUserId": "eec5d4b0-6d66-4e4a-bb10-cbc3bdba8be8",
"analytics": false,
"beautifyEntireFileOnSave": false,
"muteAllErrors": true
},
"php": {
"beautify_on_save": true,
"cs_fixer_path": "D:\\Program Files\\php-5.5.38-nts-Win32-VC11-x86\\php-cs-fixer.phar",
"fixers": "-return"
},
"python": {
"disabled": true
}
},
"autosave": {},
"core": {
"disabledPackages": [
"language-clojure",
"language-csharp",
"language-go",
"language-java",
"language-mustache",
"language-c",
"php-integrator-call-tips",
"language-todo",
"activate-power-mode",
"wakatime"
],
"openEmptyEditorOnStart": false,
"packagesWithKeymapsDisabled": [
"activate-power-mode"
],
"telemetryConsent": "no"
},
"editor": {
"softWrap": true,
"zoomFontWhenCtrlScrolling": false
},
"exception-reporting": {
"userId": "bda00937-b774-d1d4-bd77-d12ac08f2510"
},
"file-icons": {},
"hyperclick": {
"win32TriggerKeys": "altKey"
},
"linter": {
"lintOnFly": false,
"lintOnFlyInterval": 500,
"showErrorTabLine": true,
"statusIconPosition": "Right"
},
"linter-php": {
"errorReporting": false
},
"minimap": {
"absoluteMode": true,
"plugins": {
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"linter": true,
"linterDecorationsZIndex": 0
}
},
"minimap-linter": {},
"php-integrator-autocomplete-plus": {},
"php-integrator-base": {
"memoryLimit": 768
},
"php-integrator-linter": {
"showMissingDocs": false,
"showUnknownClasses": false,
"showUnknownGlobalConstants": false,
"showUnknownGlobalFunctions": false,
"showUnusedUseStatements": false,
"validateDocblockCorrectness": false
},
"pigments": {
"notifyReloads": false
},
"project-manager": {
"alwaysOpenInSameWindow": true,
"environmentSpecificProjects": true
},
"simplified-chinese-menu": {},
"uglify": {
"mangle": false
},
"wakatime": {
"apikey": "Saved in your ~/.wakatime.cfg file"
},
"wakatime-hidden": {
"lastInit": 1481766273
},
"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%);
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow .cursor {
// border-color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment