Skip to content

Instantly share code, notes, and snippets.

@robhuska
Last active September 25, 2018 20:41
Show Gist options
  • Save robhuska/e8edd0b0d79ebd8893c6f0b57181b1ff to your computer and use it in GitHub Desktop.
Save robhuska/e8edd0b0d79ebd8893c6f0b57181b1ff 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()}"
document.body.classList.add('an-old-hope-modify-ui')
# 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
'body':
'ctrl-tab ^ctrl': 'unset!'
'ctrl-tab': 'pane:show-next-item'
'ctrl-shift-tab ^ctrl': 'unset!'
'ctrl-shift-tab': 'pane:show-previous-item'
# 'cmd-k cmd-shift-right': 'pane:split-right-and-move-active-item'
# 'cmd-k cmd-shift-up': 'pane:split-up-and-move-active-item'
# 'cmd-k cmd-shift-down': 'pane:split-down-and-move-active-item'
# 'cmd-k cmd-shift-left': 'pane:split-left-and-move-active-item'
# '.platform-darwin':
# "cmd-B": "unset!"
'atom-workspace':
"cmd-B": "better-git-blame:toggle"
[
{
"name": "about",
"version": "1.10.0"
},
{
"name": "activate-power-mode",
"version": "2.7.0"
},
{
"name": "an-old-hope-syntax",
"version": "1.0.4",
"theme": "syntax"
},
{
"name": "archive-view",
"version": "0.65.1"
},
{
"name": "atom-dark-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.2",
"theme": "ui"
},
{
"name": "atom-light-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.2",
"theme": "ui"
},
{
"name": "atom-material-contrast-syntax",
"version": "0.3.1",
"theme": "syntax"
},
{
"name": "atom-material-ui",
"version": "2.1.3",
"theme": "ui"
},
{
"name": "atom-ternjs",
"version": "0.18.3"
},
{
"name": "atom-wrap-in-tag",
"version": "0.6.0"
},
{
"name": "autoclose-html",
"version": "0.23.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.7"
},
{
"name": "autocomplete-css",
"version": "0.17.5"
},
{
"name": "autocomplete-html",
"version": "0.8.4"
},
{
"name": "autocomplete-php",
"version": "0.3.7"
},
{
"name": "autocomplete-plus",
"version": "2.40.7"
},
{
"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.5.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "better-git-blame",
"version": "0.4.7"
},
{
"name": "bookmarks",
"version": "0.45.1"
},
{
"name": "bracket-matcher",
"version": "0.89.2"
},
{
"name": "brogrammer-harder-syntax",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "brogrammer-harder-ui",
"version": "1.3.0",
"theme": "ui"
},
{
"name": "brogrammer-syntax",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "brogrammer-ui",
"version": "1.0.0",
"theme": "ui"
},
{
"name": "brogrammer-v2-syntax",
"version": "0.3.0",
"theme": "syntax"
},
{
"name": "busy-signal",
"version": "1.4.3"
},
{
"name": "colorblind-wombat-dark-syntax",
"version": "0.6.0",
"theme": "syntax"
},
{
"name": "command-palette",
"version": "0.43.5"
},
{
"name": "contrast-ui",
"version": "0.53.0",
"theme": "ui"
},
{
"name": "dalek",
"version": "0.2.2"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.48.1"
},
{
"name": "dracula-syntax",
"version": "2.0.7",
"theme": "syntax"
},
{
"name": "dracula-ui",
"version": "0.6.0",
"theme": "ui"
},
{
"name": "editorconfig",
"version": "2.2.2"
},
{
"name": "encoding-selector",
"version": "0.23.9"
},
{
"name": "es6-javascript",
"version": "1.0.0"
},
{
"name": "exception-reporting",
"version": "0.43.1"
},
{
"name": "file-icons",
"version": "2.1.25"
},
{
"name": "find-and-replace",
"version": "0.215.12"
},
{
"name": "firacode",
"version": "0.3.0"
},
{
"name": "flex-tool-bar",
"version": "2.1.2"
},
{
"name": "fuzzy-finder",
"version": "1.8.2"
},
{
"name": "git-diff",
"version": "1.3.9"
},
{
"name": "github",
"version": "0.18.3"
},
{
"name": "go-to-line",
"version": "0.33.0"
},
{
"name": "grammar-selector",
"version": "0.50.1"
},
{
"name": "highlight-line",
"version": "0.12.0"
},
{
"name": "highlight-selected",
"version": "0.14.0"
},
{
"name": "image-view",
"version": "0.63.0"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "javascript-snippets",
"version": "1.2.1"
},
{
"name": "keybinding-resolver",
"version": "0.38.2"
},
{
"name": "language-c",
"version": "0.60.0"
},
{
"name": "language-clojure",
"version": "0.22.7"
},
{
"name": "language-coffee-script",
"version": "0.49.3"
},
{
"name": "language-csharp",
"version": "1.0.4"
},
{
"name": "language-css",
"version": "0.42.11"
},
{
"name": "language-gfm",
"version": "0.90.5"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-go",
"version": "0.46.0"
},
{
"name": "language-html",
"version": "0.51.1"
},
{
"name": "language-hyperlink",
"version": "0.16.3"
},
{
"name": "language-java",
"version": "0.30.0"
},
{
"name": "language-javascript",
"version": "0.129.1"
},
{
"name": "language-json",
"version": "0.19.2"
},
{
"name": "language-less",
"version": "0.34.2"
},
{
"name": "language-liquid",
"version": "0.7.0"
},
{
"name": "language-make",
"version": "0.22.3"
},
{
"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.0"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.51.2"
},
{
"name": "language-ruby",
"version": "0.72.2"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.3"
},
{
"name": "language-sass",
"version": "0.62.0"
},
{
"name": "language-shellscript",
"version": "0.27.0"
},
{
"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.0"
},
{
"name": "language-vue",
"version": "0.23.1"
},
{
"name": "language-xml",
"version": "0.35.2"
},
{
"name": "language-yaml",
"version": "0.32.0"
},
{
"name": "line-ending-selector",
"version": "0.7.7"
},
{
"name": "link",
"version": "0.31.4"
},
{
"name": "linter",
"version": "2.2.0"
},
{
"name": "linter-php",
"version": "1.5.1"
},
{
"name": "linter-sass-lint",
"version": "1.8.3"
},
{
"name": "linter-ui-default",
"version": "1.7.1"
},
{
"name": "markdown-preview",
"version": "0.159.20"
},
{
"name": "merge-conflicts",
"version": "1.4.5"
},
{
"name": "metrics",
"version": "1.6.1"
},
{
"name": "minimal-syntax",
"version": "0.22.0",
"theme": "syntax"
},
{
"name": "minimap",
"version": "4.29.9"
},
{
"name": "minimap-cursorline",
"version": "0.2.0"
},
{
"name": "minimap-find-and-replace",
"version": "4.5.2"
},
{
"name": "minimap-highlight-selected",
"version": "4.6.1"
},
{
"name": "minimap-linter",
"version": "2.2.0"
},
{
"name": "minimap-pigments",
"version": "0.2.2"
},
{
"name": "minimap-selection",
"version": "4.5.0"
},
{
"name": "monokai-seti",
"version": "0.9.0",
"theme": "syntax"
},
{
"name": "notifications",
"version": "0.70.5"
},
{
"name": "one-dark-syntax",
"version": "1.8.4",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.12.4",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.8.4",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.12.4",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "1.3.1"
},
{
"name": "package-generator",
"version": "1.3.0"
},
{
"name": "pigments",
"version": "0.40.2"
},
{
"name": "platformio-ide-terminal",
"version": "2.8.4"
},
{
"name": "project-manager",
"version": "3.3.6"
},
{
"name": "project-viewer",
"version": "1.3.1"
},
{
"name": "remote-ftp",
"version": "2.2.0"
},
{
"name": "seti-syntax",
"version": "1.2.0",
"theme": "syntax"
},
{
"name": "seti-ui",
"version": "1.11.0",
"theme": "ui"
},
{
"name": "settings-view",
"version": "0.255.0"
},
{
"name": "snippets",
"version": "1.3.3"
},
{
"name": "solarized-dark-syntax",
"version": "1.1.5",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.1.5",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.74.0"
},
{
"name": "split-diff",
"version": "1.5.2"
},
{
"name": "status-bar",
"version": "1.8.15"
},
{
"name": "styleguide",
"version": "0.49.11"
},
{
"name": "symbols-view",
"version": "0.118.2"
},
{
"name": "sync-settings",
"version": "0.8.6"
},
{
"name": "tabs",
"version": "0.109.2"
},
{
"name": "tabs-to-spaces",
"version": "1.0.5"
},
{
"name": "tag",
"version": "0.5.0"
},
{
"name": "tasks",
"version": "2.10.1"
},
{
"name": "text-manipulation",
"version": "0.6.0"
},
{
"name": "timecop",
"version": "0.36.2"
},
{
"name": "tool-bar",
"version": "1.1.10"
},
{
"name": "tree-view",
"version": "0.222.0"
},
{
"name": "update-package-dependencies",
"version": "0.13.1"
},
{
"name": "vue-format",
"version": "0.4.0"
},
{
"name": "welcome",
"version": "0.36.6"
},
{
"name": "whitespace",
"version": "0.37.6"
},
{
"name": "wordpress-api",
"version": "1.2.2"
},
{
"name": "wrap-guide",
"version": "0.40.3"
}
]
{
"Remote-FTP": {
"connector": {
"autoUploadOnSave": "only when connected"
},
"statusbar": {},
"tree": {
"useDockIntegration": true
}
},
"activate-power-mode": {
"comboMode": {
"enabled": false
},
"particles": {
"spawnCount": {}
},
"plugins": {
"playAudio": true,
"screenShake": true
},
"screenShake": {
"enabled": false
}
},
"atom-beautify": {
"general": {
"_analyticsUserId": "72f058d4-c5a1-4846-a1d7-9def5e7ecae8",
"beautifyEntireFileOnSave": false
}
},
"atom-material-ui": {
"colors": {
"abaseColor": "#6a6e72",
"accentColor": "#b7c5b9",
"paintCursor": true,
"predefinedColor": "Grey"
},
"tabs": {
"compactTabs": true
},
"ui": {
"panelContrast": true,
"panelShadows": true
}
},
"atom-package-deps": {
"ignored": []
},
"atom-ternjs": {
"inlineFnCompletionDocumentation": true,
"snippetsFirst": true,
"useSnippets": true
},
"autocomplete-paths": {
"enableHtmlSupport": true,
"ignoreSubmodules": true,
"ignoredPatterns": [
"**/node_modules/ **/wp-* !**/wp-content/"
]
},
"autocomplete-plus": {
"backspaceTriggersAutocomplete": true
},
"better-git-blame": {
"searchInLayerEnabled": false
},
"block-cursor": {
"global": {
"blinkOff": {
"backgroundColor": "rgba(0, 0, 0, 0)",
"borderColor": "rgba(255, 255, 255, 0.5)",
"borderStyle": "i-beam",
"borderWidth": 10
},
"blinkOn": {
"backgroundColor": "rgba(255, 255, 255, 0.5)",
"borderColor": "rgba(255, 255, 255, 0.5)",
"borderStyle": "i-beam",
"borderWidth": 10
},
"cursorLineFix": true,
"pulseDuration": 1000
}
},
"core": {
"disabledPackages": [
"SFTP-deployment",
"remote-sync",
"tab-smart-sort",
"tab-switcher",
"project-manager",
"tasks",
"tabs-to-spaces",
"linter",
"linter-php",
"linter-sass-lint",
"linter-ui-default",
"minimap-linter"
],
"packagesWithKeymapsDisabled": [
"activate-power-mode",
"browser-plus"
],
"telemetryConsent": "no",
"themes": [
"contrast-ui",
"monokai-seti"
]
},
"editor": {
"fontFamily": "FiraCode",
"invisibles": {},
"showIndentGuide": true,
"showInvisibles": true,
"softTabs": false,
"tabLength": 4,
"tabType": "hard"
},
"emmet": {
"useEmmetComments": true
},
"exception-reporting": {
"userId": "d3eb69ba-8439-8394-25f8-44c3e83c44b2"
},
"file-icons": {
"forceShow": true
},
"flex-tool-bar": {
"persistentProjectToolBar": true
},
"goto-definition": {},
"highlight-line": {
"hideHighlightOnSelect": true,
"underline": "dotted"
},
"linter-php": {
"executablePath": "/usr/bin/php"
},
"linter-ui-default": {
"panelHeight": 69
},
"minimap": {
"adjustAbsoluteModeHeight": true,
"plugins": {
"cursorline": true,
"cursorlineDecorationsZIndex": 0,
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"linter": true,
"linterDecorationsZIndex": 0,
"minimap-autohide": true,
"minimap-autohideDecorationsZIndex": 0,
"pigments": true,
"pigmentsDecorationsZIndex": 0,
"selection": true,
"selectionDecorationsZIndex": 0,
"split-diff": true,
"split-diffDecorationsZIndex": 0
},
"scrollAnimation": true
},
"pigments": {
"autocompleteSuggestionsFromValue": true,
"extendAutocompleteToColorValue": true,
"extendAutocompleteToVariables": true,
"markerType": "native-underline",
"mergeColorDuplicates": true,
"notifyReloads": false,
"sassShadeAndTintImplementation": "bourbon"
},
"platformio-ide-terminal": {
"ansiColors": {
"normal": {
"blue": "#268bd2",
"cyan": "#2aa198",
"green": "#859901",
"magenta": "#d33682",
"red": "#dc322f",
"white": "#eee8d5",
"yellow": "#b58901"
}
},
"core": {},
"style": {
"animationSpeed": 0,
"defaultPanelHeight": "200px",
"fontFamily": "FuraCode Nerd Font",
"fontSize": "14",
"theme": "predawn"
},
"toggles": {
"autoClose": true
}
},
"project-manager": {
"closeCurrent": true,
"environmentSpecificProjects": true,
"includeGitRepositories": true,
"sortBy": "group"
},
"project-plus": {
"autoDiscover": false,
"newWindow": true
},
"project-viewer": {
"autoHideAbsolute": true,
"customHotZone": 0,
"customHoverColor": "#FFFFFF",
"customSelectedColor": "#fff",
"customTitleColor": "#FFFFFF",
"customWidth": 1077,
"disclaimer": {
"v131": false
},
"dockOrPanel": true,
"hideHeader": true,
"keepWindowSize": true,
"statusBar": true,
"visibilityOption": "Remember state"
},
"remote-ftp": {
"connector": {
"autoUploadOnSave": "only when connected"
},
"notifications": {
"enableTransfer": true,
"enableWatchFileChange": true
},
"statusbar": {
"enable": true
},
"tree": {
"enableDragAndDrop": false
}
},
"remote-sync": {},
"seti-syntax": {
"themeColor": "Orange"
},
"seti-ui": {
"themeColor": "Steel"
},
"slack-chat": {
"api_key": "2342325663.321013868609",
"api_secret": "367c928ee554e9af336b38b29ff23241",
"api_token": "PfjV8t0e9SLIGiogsez5v2Xh"
},
"spell-check": {
"grammars": [
"source.asciidoc",
"source.gfm",
"text.git-commit",
"text.plain",
"text.plain.null-grammar",
"source.todo"
]
},
"split-diff": {
"ignoreWhitespace": true
},
"status-bar": {},
"sync-settings": {},
"tab-smart-sort": {},
"tab-switcher": {
"reorderTabs": true
},
"tasks": {},
"terminal-plus": {
"style": {
"theme": "pro"
}
},
"tool-bar": {
"position": "Left"
},
"tree-view": {
"hideIgnoredNames": true
},
"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:
# https://atom.io/docs/latest/using-atom-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
.list-group,
.list-tree,
.tree-view {
.selected {
&:before {
background: rgba(255, 255, 255, 0.25);
// background: #002083;
}
}
// .entry {
// &:before {
// left: 0;
// right: 0;
// height: 25px;
// &:hover {
// background: rgba(255, 255, 255, 0.2);
// }
// }
// }
}
.settings-view .config-menu .nav,
.nav-pills {
> li {
> a:hover,
> a:focus,
&.active > a,
&.active > a:hover,
&.active > a:focus {
background: rgba(255, 255, 255, 0.25);
}
}
}
.github-StagingView-group.is-focused .is-selected {
background: rgba(255, 255, 255, 0.25);
}
// 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;
}
.tool-bar {
border: none;
background-color: #222;
button.tool-bar-btn {
transition: all 0.2s ease;
background: transparent;
color: #AAA;
&:focus,
&:hover {
color: #FFF;
background: #444
}
}
}
atom-workspace {
// font-family: "Operator Mono";
// font-family: "Operator Pro";
// font-family: "Fira Code";
// font-style: italic;
}
atom-text-editor {
line-height: 1.6;
}
atom-text-editor.editor {
.syntax--entity.syntax--other.syntax--attribute-name {
font-family: "Operator Mono";
// font-family: "Operator Pro";
font-size: 1.1em;
line-height: 1em;
font-style: italic;
}
}
.platformio-ide-terminal .xterm {
font-weight: bold;
// [style*="background-color:#268bd2"] {
// color: #000;
// }
// * {
// color: white !important;
// }
// background-color: ;
// color: ;
//
// ::selection {
// background-color: ;
// }
//
// .terminal-cursor {
// background-color: ;
// }
}
.settings-view .section atom-text-editor[mini] .selection .region,
.settings-view .section atom-text-editor[mini].is-focused .selection .region {
background-color: #676767;
}
// .atom-text-editor,
// atom-text-editor {
// .cursor {
// width: 10px !important;
// border: none;
// opacity: 1 !important;
// &:before {
// content: "";
// width: 10px;
// height: 100%;
// background: rgba(255,255,255, 0.4);
// transition-duration: 0.5s;
// transition-property: background, border, opacity, width, transform;
// position: absolute;
// border-left: 1px solid #F8F8F8;
// display: block;
// // transform: scaleY(1);
// }
// }
//
// .cursors.blink-off {
// .cursor {
// &:before {
// width: 1px;
// // transform: scaleY(0);
// opacity: 0;
// }
// }
// }
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment