Skip to content

Instantly share code, notes, and snippets.

@vtrpldn
Last active October 17, 2016 17:22
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 vtrpldn/0f12e992a0a3f3ee6df5617839640017 to your computer and use it in GitHub Desktop.
Save vtrpldn/0f12e992a0a3f3ee6df5617839640017 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.
#
# 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-workspace':
'shift-alt-c': 'open-terminal-here:open'
'shift-alt-v': 'open-terminal-here:open-root'
'shift-alt-p': 'color-picker:open'
'atom-text-editor':
'shift-alt-f': 'atom-beautify:beautify-editor'
'ctrl-alt-x': 'tokamak-terminal:toggle'
'ctrl-alt-t': 'tabs-to-spaces:tabify'
'ctrl-alt-s': 'tabs-to-spaces:untabify'
'atom-text-editor:not([mini])':
'ctrl-l': 'emmet:encode-decode-data-url'
[
{
"name": "Stylus",
"version": "3.1.0"
},
{
"name": "about",
"version": "1.7.0"
},
{
"name": "angularjs",
"version": "0.3.5"
},
{
"name": "archive-view",
"version": "0.61.1"
},
{
"name": "atom-beautify",
"version": "0.29.13"
},
{
"name": "atom-dark-syntax",
"version": "0.27.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.52.0",
"theme": "ui"
},
{
"name": "atom-light-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.44.0",
"theme": "ui"
},
{
"name": "atomic-chrome",
"version": "0.3.0"
},
{
"name": "autoclose-html",
"version": "0.23.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.0"
},
{
"name": "autocomplete-css",
"version": "0.11.2"
},
{
"name": "autocomplete-html",
"version": "0.7.2"
},
{
"name": "autocomplete-plus",
"version": "2.31.1"
},
{
"name": "autocomplete-snippets",
"version": "1.11.0"
},
{
"name": "autoflow",
"version": "0.27.0"
},
{
"name": "autosave",
"version": "0.23.1"
},
{
"name": "background-tips",
"version": "0.26.1"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.2.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.2.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.42.0"
},
{
"name": "bracket-matcher",
"version": "0.82.1"
},
{
"name": "color-picker",
"version": "2.2.2"
},
{
"name": "command-palette",
"version": "0.38.0"
},
{
"name": "deprecation-cop",
"version": "0.54.1"
},
{
"name": "dev-live-reload",
"version": "0.47.0"
},
{
"name": "editorconfig",
"version": "1.4.1"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "emmet-snippets-compatibility",
"version": "1.0.6"
},
{
"name": "encoding-selector",
"version": "0.22.0"
},
{
"name": "exception-reporting",
"version": "0.40.0"
},
{
"name": "file-icons",
"version": "1.7.19"
},
{
"name": "find-and-replace",
"version": "0.201.1"
},
{
"name": "fuzzy-finder",
"version": "1.4.0"
},
{
"name": "git-control",
"version": "0.8.2"
},
{
"name": "git-diff",
"version": "1.1.0"
},
{
"name": "git-plus",
"version": "5.17.1"
},
{
"name": "git-time-machine",
"version": "1.5.3"
},
{
"name": "go-to-line",
"version": "0.31.0"
},
{
"name": "grammar-selector",
"version": "0.48.2"
},
{
"name": "image-view",
"version": "0.59.0"
},
{
"name": "incompatible-packages",
"version": "0.26.1"
},
{
"name": "indent-guide-improved",
"version": "1.4.10"
},
{
"name": "keybinding-resolver",
"version": "0.35.0"
},
{
"name": "language-coffee-script",
"version": "0.47.2"
},
{
"name": "language-css",
"version": "0.37.1"
},
{
"name": "language-gfm",
"version": "0.88.0"
},
{
"name": "language-git",
"version": "0.15.0"
},
{
"name": "language-html",
"version": "0.45.1"
},
{
"name": "language-hyperlink",
"version": "0.16.0"
},
{
"name": "language-javascript",
"version": "0.119.0"
},
{
"name": "language-json",
"version": "0.18.2"
},
{
"name": "language-json-comments",
"version": "0.16.3"
},
{
"name": "language-php",
"version": "0.37.2"
},
{
"name": "language-python",
"version": "0.45.0"
},
{
"name": "language-sass",
"version": "0.56.0"
},
{
"name": "language-shellscript",
"version": "0.22.4"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.23.0"
},
{
"name": "language-text",
"version": "0.7.1"
},
{
"name": "language-todo",
"version": "0.28.0"
},
{
"name": "language-xml",
"version": "0.34.9"
},
{
"name": "line-ending-selector",
"version": "0.5.0"
},
{
"name": "link",
"version": "0.31.1"
},
{
"name": "linter",
"version": "1.11.18"
},
{
"name": "linter-jshint",
"version": "3.0.0"
},
{
"name": "linter-php",
"version": "1.2.0"
},
{
"name": "linter-stylelint",
"version": "3.3.1"
},
{
"name": "linter-tidy",
"version": "2.2.0"
},
{
"name": "markdown-preview",
"version": "0.158.0"
},
{
"name": "markdown-toc",
"version": "0.4.1"
},
{
"name": "minimap",
"version": "4.25.0"
},
{
"name": "notifications",
"version": "0.65.1"
},
{
"name": "one-dark-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.6.0",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.6.0",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "1.2.0"
},
{
"name": "open-terminal-here",
"version": "2.1.4"
},
{
"name": "package-generator",
"version": "1.0.0"
},
{
"name": "pigments",
"version": "0.35.3"
},
{
"name": "project-plus",
"version": "0.9.0"
},
{
"name": "qolor",
"version": "0.4.0"
},
{
"name": "rainbow-tabs",
"version": "2.2.1"
},
{
"name": "remote-sync",
"version": "4.1.4"
},
{
"name": "robin-hood-syntax",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "set-syntax",
"version": "0.3.0"
},
{
"name": "settings-view",
"version": "0.242.2"
},
{
"name": "snippets",
"version": "1.0.2"
},
{
"name": "solarized-dark-syntax",
"version": "1.0.2",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.0.2",
"theme": "syntax"
},
{
"name": "sort-lines",
"version": "0.14.0"
},
{
"name": "status-bar",
"version": "1.4.1"
},
{
"name": "styleguide",
"version": "0.47.0"
},
{
"name": "symbols-view",
"version": "0.113.1"
},
{
"name": "sync-settings",
"version": "0.7.2"
},
{
"name": "tab-control",
"version": "0.6.9"
},
{
"name": "tabs",
"version": "0.101.0"
},
{
"name": "tabs-to-spaces",
"version": "1.0.2"
},
{
"name": "timecop",
"version": "0.33.2"
},
{
"name": "tokamak-terminal",
"version": "0.1.2"
},
{
"name": "tree-view",
"version": "0.209.3"
},
{
"name": "unity-ui",
"version": "2.1.5",
"theme": "ui"
},
{
"name": "update-package-dependencies",
"version": "0.10.0"
},
{
"name": "whitespace",
"version": "0.33.0"
},
{
"name": "wordpress-api",
"version": "1.2.2"
},
{
"name": "wrap-guide",
"version": "0.38.2"
}
]
{
"Termrk": {
"defaultHeight": 227,
"fontFamily": "Fira Code, Monospace",
"transitionEasing": "ease"
},
"atom-beautify": {
"css": {
"convert_quotes": "single",
"default_beautifier": "Pretty Diff",
"end_with_newline": true,
"indent_size": 2,
"no_lead_zero": true
},
"general": {
"_analyticsUserId": "846b98c7-adf9-46af-8390-40fd5245031f",
"analytics": false
},
"js": {
"end_with_newline": true,
"eval_code": true,
"indent_size": 2,
"jslint_happy": true,
"space_before_conditional": false
},
"json": {
"beautify_on_save": true,
"end_with_newline": true,
"eval_code": true,
"indent_size": 2,
"jslint_happy": true,
"keep_array_indentation": true,
"keep_function_indentation": true,
"space_before_conditional": false
},
"php": {
"default_beautifier": "PHPCBF",
"phpcbf_path": "/usr/local/bin/phpcbf"
},
"scss": {
"indent_size": 2,
"no_lead_zero": true
}
},
"color-picker": {
"abbreviateValues": true,
"automaticReplace": true,
"triggerKey": "E"
},
"core": {
"disabledPackages": [
"welcome",
"metrics",
"spell-check",
"language-yaml",
"language-toml",
"language-ruby-on-rails",
"language-ruby",
"language-perl",
"language-objective-c",
"language-mustache",
"language-make",
"language-java",
"language-go",
"language-csharp",
"language-clojure",
"language-c",
"merge-conflicts",
"markdown-scroll-sync",
"js-refactor",
"refactor",
"project-manager",
"autocomplete-wordpress-hooks",
"atom-wordpress",
"language-property-list",
"language-less",
"angularjs"
],
"packagesWithKeymapsDisabled": [
"terminal-panel",
"Termrk",
"emmet",
"linter",
"markdown-toc",
"color-picker"
]
},
"editor": {
"fontFamily": "Envy Code R",
"lineHeight": 1.6,
"scrollPastEnd": true,
"softWrap": true,
"tabType": "hard"
},
"exception-reporting": {
"userId": "edc78af8-d459-2e7c-c2a7-3134d6728ef7"
},
"git-plus": {
"verboseCommits": true
},
"indentation-indicator": {
"spaceAfterColon": true
},
"jsformat": {
"brace_style": "expand",
"comma_first": true,
"eval_code": true
},
"language-babel": {
"allowLocalOverride": true
},
"linter": {
"gutterPosition": "Left",
"showErrorTabLine": true
},
"minimap": {
"ignoreWhitespacesInTokens": true
},
"pigments": {
"extendAutocompleteToColorValue": true,
"extendAutocompleteToVariables": true,
"extendedSearchNames": [
"**/*.{css",
"scss",
"styl",
"less}"
],
"groupPaletteColors": "by file",
"markerType": "underline",
"mergeColorDuplicates": true
},
"project-manager": {
"includeGitRepositories": true,
"sortBy": "title"
},
"project-plus": {
"showPath": true
},
"project-viewer": {
"autohide": true,
"gistId": "7b7f5bba8386d319794b46c0dfec5b1d",
"githubAccessToken": "d0266b0e7a0dd837b1169bf955bc092c110a8117",
"statusBarVisibility": true
},
"qolor": {
"fourBorders": true
},
"split-diff": {
"diffWords": true,
"ignoreWhitespace": true,
"leftEditorColor": "red",
"rightEditorColor": "green",
"syncHorizontalScroll": true
},
"swackets": {
"colorParens": true,
"colorSquareBrackets": true
},
"sync-settings": {
"analytics": false
},
"tab-control": {
"autoSaveChanges": true
},
"term3": {
"openPanesInSameSplit": true
},
"terminal-panel": {
"logConsole": true
},
"tokamak-terminal": {
"ansiColors": {
"normal": {
"black": "#25212b",
"blue": "#4399cd",
"cyan": "#69cdb6",
"green": "#18cd56",
"magenta": "#be67cd",
"red": "#cd2e4d",
"white": "#dae0e5",
"yellow": "#d0bb3f"
},
"zBright": {
"brightBlue": "#3d88ff",
"brightCyan": "#1cfdf3",
"brightGreen": "#10f942",
"brightMagenta": "#f854ff",
"brightRed": "#ff3000",
"brightYellow": "#f2fb38"
}
},
"iconColors": {
"blue": "#3e91ff",
"cyan": "#7feeff",
"green": "#5fce65",
"magenta": "#ff6ef6",
"purple": "#8743bc",
"red": "#ff434b",
"yellow": "#ffe746"
},
"style": {
"defaultPanelHeight": "210px",
"fontFamily": "Fira Code, Monospaced",
"fontSize": "12",
"theme": "dracula"
}
},
"tool-bar": {
"iconSize": "16px",
"position": "Right"
},
"unity-ui": {
"colorStatusIndicatorsInTreeView": true,
"showIcons": true
},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ignoreWhitespaceOnlyLines": 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'
#
# 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::shadow .cursor {
border-color: whitesmoke;
}
atom-text-editor::shadow .bracket-matcher .region {
border: none;
outline: 1px solid rgba(123,200,164,.7);
background-color: rgba(123,200,164,.2);
}
atom-pane-container atom-pane {
padding-top: 0;
padding-right: 0;
}
.indent-guide-improved {
background-color: rgba(120,120,120,.1);
&.indent-guide-stack {
background-color: rgba(120,120,120,.1);
&.indent-guide-active {
background-color: rgba(120,120,120,.8);
}
}
}
.tokamak-terminal.terminal-view .xterm {
padding: 10px 5px;
& > .terminal > div {
padding: 2px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment