Skip to content

Instantly share code, notes, and snippets.

@arsley
Last active July 30, 2021 03:28
Show Gist options
  • Save arsley/f7b5a5e5b9f39a6d6403a8d85cb4dff9 to your computer and use it in GitHub Desktop.
Save arsley/f7b5a5e5b9f39a6d6403a8d85cb4dff9 to your computer and use it in GitHub Desktop.
My Atom packages with 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':
'ctrl-alt-u': 'expand-region:expand'
'ctrl-alt-down': 'expand-region:shrink'
# '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 in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
# ctrl-z is my tmux's prefix
'atom-text-editor.vim-mode-plus:not(.insert-mode)':
'ctrl-z -': 'pane:split-down-and-move-active-item'
'ctrl-z |': 'pane:split-right-and-move-active-item'
'ctrl-z h': 'window:focus-pane-on-left'
'ctrl-z j': 'window:focus-pane-below'
'ctrl-z k': 'window:focus-pane-above'
'ctrl-z l': 'window:focus-pane-on-right'
'ctrl-m h': 'window:move-active-item-to-pane-on-left'
'ctrl-m j': 'window:move-active-item-to-pane-below'
'ctrl-m k': 'window:move-active-item-to-pane-above'
'ctrl-m l': 'window:move-active-item-to-pane-on-right'
'atom-workspace atom-text-editor':
# Unset editor keybindings (conflict with multi-cursor-plus)
'alt-left': 'unset!'
'alt-right': 'unset!'
'alt-shift-left': 'unset!'
'alt-shift-right': 'unset!'
'atom-workspace atom-text-editor:not([mini])':
# Unset editor keybindings (conflict with multi-cursor-plus)
'alt-shift-up': 'unset!'
'alt-shift-down': 'unset!'
'atom-workspace':
# Key bindings for multi-cursor-plus
'alt-x': 'multi-cursor-plus:mark'
'alt-k': 'multi-cursor-plus:move-up'
'alt-j': 'multi-cursor-plus:move-down'
'alt-h': 'multi-cursor-plus:move-left'
'alt-l': 'multi-cursor-plus:move-right'
'ctrl-cmd-enter': 'goto-definition:go'
{
"about": {
"version": "1.9.1"
},
"advanced-open-file": {
"version": "0.16.8"
},
"archive-view": {
"version": "0.65.2"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-ide-ui": {
"version": "0.13.0"
},
"atom-inline-blame": {
"version": "0.0.10"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"atom-light-ui-slim": {
"version": "0.25.1",
"theme": "ui"
},
"atom-slim-ui": {
"version": "0.10.7",
"theme": "ui"
},
"atomcasts-syntax": {
"version": "0.10.3",
"theme": "syntax"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-plus": {
"version": "2.42.4"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"background-tips": {
"version": "0.28.0"
},
"base16-tomorrow-dark-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"base16-tomorrow-light-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"blocky": {
"version": "0.13.0"
},
"bookmarks": {
"version": "0.46.0"
},
"bracket-matcher": {
"version": "0.91.2"
},
"busy-signal": {
"version": "2.0.1"
},
"command-palette": {
"version": "0.43.5"
},
"crystal-block": {
"version": "0.4.0"
},
"dalek": {
"version": "0.2.2"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"disable-keybindings": {
"version": "0.6.0"
},
"docblockr": {
"version": "0.13.7"
},
"emmet": {
"version": "2.4.3"
},
"encoding-selector": {
"version": "0.23.9"
},
"ex-mode": {
"version": "0.18.0"
},
"exception-reporting": {
"version": "0.43.1"
},
"file-icons": {
"version": "2.1.47"
},
"find-and-replace": {
"version": "0.219.7"
},
"fuzzy-finder": {
"version": "1.14.3"
},
"git-diff": {
"version": "1.3.9"
},
"github": {
"version": "0.36.9"
},
"go-plus": {
"version": "6.1.0"
},
"go-to-line": {
"version": "0.33.0"
},
"goto-definition": {
"version": "1.3.4"
},
"grammar-selector": {
"version": "0.50.1"
},
"highlight-selected": {
"version": "0.17.0"
},
"hyperclick": {
"version": "0.0.0"
},
"ide-go": {
"version": "0.12.3"
},
"ide-html": {
"version": "0.6.2"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"intentions": {
"version": "1.1.5"
},
"jumpy": {
"version": "5.0.2"
},
"keybinding-resolver": {
"version": "0.39.0"
},
"language-c": {
"version": "0.60.19"
},
"language-clojure": {
"version": "0.22.8"
},
"language-coffee-script": {
"version": "0.50.0"
},
"language-crystal-actual": {
"version": "0.37.2"
},
"language-csharp": {
"version": "1.1.0"
},
"language-css": {
"version": "0.44.4"
},
"language-docker": {
"version": "1.1.8"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-go": {
"version": "0.47.2"
},
"language-html": {
"version": "0.53.1"
},
"language-hyperlink": {
"version": "0.17.1"
},
"language-java": {
"version": "0.32.1"
},
"language-javascript": {
"version": "0.134.1"
},
"language-json": {
"version": "1.0.5"
},
"language-latex": {
"version": "1.2.0"
},
"language-less": {
"version": "0.34.3"
},
"language-make": {
"version": "0.23.0"
},
"language-mustache": {
"version": "0.14.5"
},
"language-nginx": {
"version": "0.8.0"
},
"language-objective-c": {
"version": "0.16.0"
},
"language-perl": {
"version": "0.38.1"
},
"language-php": {
"version": "0.44.7"
},
"language-property-list": {
"version": "0.9.1"
},
"language-python": {
"version": "0.53.5"
},
"language-rspec": {
"version": "0.12.1"
},
"language-ruby": {
"version": "0.72.23"
},
"language-ruby-on-rails": {
"version": "0.25.3"
},
"language-rust-bundled": {
"version": "0.1.0"
},
"language-sass": {
"version": "0.62.1"
},
"language-shellscript": {
"version": "0.28.2"
},
"language-slim": {
"version": "1.0.1"
},
"language-source": {
"version": "0.9.0"
},
"language-sql": {
"version": "0.25.10"
},
"language-stylus": {
"version": "0.2.0"
},
"language-terraform": {
"version": "0.9.6"
},
"language-text": {
"version": "0.7.4"
},
"language-todo": {
"version": "0.29.4"
},
"language-toml": {
"version": "0.20.0"
},
"language-typescript": {
"version": "0.6.3"
},
"language-vue": {
"version": "0.26.0"
},
"language-xml": {
"version": "0.35.3"
},
"language-yaml": {
"version": "0.32.0"
},
"latex": {
"version": "0.50.2"
},
"line-ending-selector": {
"version": "0.7.7"
},
"link": {
"version": "0.31.6"
},
"linter": {
"version": "3.3.1"
},
"linter-eslint": {
"version": "8.6.6"
},
"linter-php": {
"version": "1.6.1"
},
"linter-rubocop": {
"version": "2.5.7"
},
"linter-stylelint": {
"version": "4.5.1"
},
"linter-tslint": {
"version": "1.11.1"
},
"linter-ui-default": {
"version": "3.3.1"
},
"markdown-preview": {
"version": "0.160.2"
},
"markdown-to-pdf": {
"version": "0.1.1"
},
"metrics": {
"version": "1.8.1"
},
"multi-cursor-plus": {
"version": "1.2.0"
},
"notifications": {
"version": "0.71.0"
},
"one-dark-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-dark-ui": {
"version": "1.12.5",
"theme": "ui"
},
"one-light-syntax": {
"version": "1.8.4",
"theme": "syntax"
},
"one-light-ui": {
"version": "1.12.5",
"theme": "ui"
},
"open-on-github": {
"version": "1.3.2"
},
"package-generator": {
"version": "1.3.0"
},
"pdf-view": {
"version": "0.73.0"
},
"pigments": {
"version": "0.40.6"
},
"rails-snippets": {
"version": "2.26.0"
},
"rails-transporter": {
"version": "1.7.1"
},
"react": {
"version": "0.18.0"
},
"rubocop-auto-correct": {
"version": "1.5.1"
},
"ruby-block": {
"version": "0.3.6"
},
"settings-view": {
"version": "0.261.8"
},
"snippets": {
"version": "1.5.1"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"spell-check": {
"version": "0.77.1"
},
"status-bar": {
"version": "1.8.17"
},
"styleguide": {
"version": "0.49.12"
},
"Stylus": {
"version": "3.2.0"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.10"
},
"tabs": {
"version": "0.110.0"
},
"tabs-to-spaces": {
"version": "1.0.5"
},
"tag": {
"version": "0.5.0"
},
"teletype": {
"version": "0.13.4"
},
"timecop": {
"version": "0.36.2"
},
"toggle-quotes": {
"version": "1.1.4"
},
"tree-view": {
"version": "0.228.3"
},
"typewriter-scroll": {
"version": "1.0.2"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"vim-mode-plus": {
"version": "1.36.5"
},
"welcome": {
"version": "0.36.9"
},
"whitespace": {
"version": "0.37.7"
},
"wrap-guide": {
"version": "0.41.0"
}
}
{
"*": {
"atom-ide-ui": {
"atom-ide-code-format": {
"formatOnType": false
},
"atom-ide-debugger": {
"showDebuggerOnBpSet": false
},
"atom-ide-diagnostics-ui": {}
},
"atom-inline-blame": {
"timeout": 700
},
"atom-package-deps": {
"ignored": [
"linter-tslint",
"linter-eslint"
]
},
"atom-runner": {
"showOutputWindow": false
},
"atom-terminal-panel": {
"WindowHeight": 100,
"enableConsoleInteractiveLinks": false
},
"atom-toolbar": {
"visible": false
},
"atom-typescript": {
"disableAtomIdeDefinitions": true
},
"autocomplete-plus": {},
"autocomplete-ruby": {
"rsensePath": "~/.rbenv/shims/rsense"
},
"core": {
"audioBeep": false,
"closeDeletedFileTabs": true,
"customFileTypes": {
"source.makefile": [
"justfile"
]
},
"debugLSP": true,
"destroyEmptyPanes": false,
"disabledPackages": [
"japanese-menu",
"atom-terminal-panel",
"spell-check",
"github",
"disable-keybindings",
"linter",
"ide-html",
"linter-tslint",
"crystal-block"
],
"followSymlinks": false,
"openEmptyEditorOnStart": false,
"packagesWithKeymapsDisabled": [
"terminal-plus",
"dash",
"dart",
"autocomplete-plus",
"goto-definition"
],
"packagesWithSnippetsDisabled": [],
"projectHome": "/Users/arsley/working",
"telemetryConsent": "limited",
"themes": [
"atom-light-ui-slim",
"atom-light-syntax"
],
"titleBar": "hidden"
},
"dart": {
"browserLocation": "/Applications/Google Chrome.app",
"configureErrorsView": "errors+warnings",
"sdkLocation": "/usr/local/Cellar/dart/2.2.0/libexec",
"showOutlineView": false,
"showPubCheck": false
},
"disable-keybindings": {},
"editor": {
"fontSize": 13,
"lineHeight": 1.3,
"preferredLineLength": 100,
"scrollPastEnd": true,
"showIndentGuide": true,
"showInvisibles": true,
"softWrap": true,
"tabType": "soft"
},
"emmet": {
"extensionsPath": "~/.emmet"
},
"exception-reporting": {
"userId": "eeb25155-7231-8d6e-f8ae-95ac9c52c069"
},
"git-diff": {
"showIconsInEditorGutter": true
},
"go-plus": {
"autocomplete": {},
"config": {
"gopath": "/Users/arsley/.go\n"
},
"disabledBundledPackages": [
"go-signature-statusbar",
"autocomplete-plus"
],
"format": {},
"panel": {
"displayMode": "closed",
"fontSize": "0.9em"
},
"skipCodeFormatCheck": true,
"test": {
"runTestsOnSave": false,
"runTestsWithShortFlag": false
}
},
"goto-definition": {
"performanceMode": true
},
"highlight-selected": {
"highlightBackground": true,
"lightTheme": true
},
"ide-go": {},
"ide-ruby": {},
"ide-typescript": {
"diagnosticsEnabled": false,
"ignoreFlow": false
},
"ide-vue": {},
"jumpy": {
"fontSize": 0.85,
"highContrast": true
},
"latex": {
"cleanPatterns": [
"**/*.aux",
"**/*.aux.bak",
"**/*.bbl",
"**/*.bcf",
"**/*.blg",
"**/*.dvi",
"**/*.fdb_latexmk",
"**/*.fls",
"**/*.idx",
"**/*.idx.bak",
"**/*.ilg",
"**/*.ind",
"**/*.lof",
"**/*.log",
"**/*.lol",
"**/*.lot",
"**/*.nav",
"**/*.out",
"**/*.ps",
"**/*.snm",
"**/*.synctex.gz",
"**/*.toc",
"/**/_minted-{jobname}",
"/{output_dir}/sage-plots-for-{jobname}.tex",
"/missfont.log",
"/texput.log",
"/texput.aux"
],
"enableSynctex": false,
"engine": "platex",
"openResultAfterBuild": false,
"openResultInBackground": false,
"opener": "pdf-view",
"texPath": "/Users/arsley/Library/TinyTeX/bin/x86_64-darwin\n",
"zathuraPath": "/usr/local/bin/zathura\n"
},
"line-jumper": {
"numberOfLines": 5
},
"linter": {
"lintOnChange": false,
"lintOnOpen": false,
"lintPreviewTabs": false
},
"linter-elixirc": {
"elixircPath": "/usr/local/bin/elixirc",
"mixPath": "/usr/local/bin/mix"
},
"linter-eslint": {
"disabling": {
"disableWhenNoEslintConfig": false
},
"global": {
"eslintrcPath": "/Users/arsley/.eslintrc"
}
},
"linter-hlint": {
"hlintExecutablePath": "/Users/aoshi/.cabal/bin/hlint"
},
"linter-rubocop": {},
"linter-tslint": {
"globalNodePath": "/usr/local/var/nodebrew/node/v11.13.0",
"useGlobalTslint": true
},
"linter-ui-default": {
"panelHeight": 299
},
"markdown-preview": {
"useGitHubStyle": true
},
"minimap": {
"absoluteMode": true
},
"pdf-view": {},
"platformio-ide-terminal": {
"ansiColors": {
"normal": {
"white": "#dddee1"
},
"zBright": {
"brightCyan": "#07e2e2",
"brightWhite": "#fbfcff"
}
},
"iconColors": {
"cyan": "#0ad5d5"
},
"style": {
"animationSpeed": 5,
"fontFamily": "Monaco",
"fontSize": "12",
"theme": "inverse"
},
"toggles": {
"cursorBlink": false
}
},
"pp-markdown": {
"cssURL": "markdown"
},
"prettier-atom": {
"formatOnSaveOptions": {}
},
"project-manager": {
"sortBy": "title"
},
"rubocop-auto-correct": {},
"ruby-block": {
"highlightLineNumber": true
},
"ruby-solargraph": {
"commandPath": "/Users/arsley/.rbenv/shims/solargraph"
},
"sync-settings": {
"autoCheckForUpdatedBackup": "no",
"gistDescription": "My Atom packages with settings",
"hiddenSettings": {}
},
"term3": {
"colors": {
"background": "#eff0f2",
"brightCyan": "#0433ff",
"brightWhite": "#888992",
"brightYellow": "#0433ff",
"foreground": "#000000",
"normalWhite": "#abb0aa"
},
"cursorBlink": false,
"fontSize": "12"
},
"terminal-panel": {
"windowHeight": 20
},
"terminal-plus": {
"style": {
"defaultPanelHeight": "125px",
"theme": "inverse"
},
"toggles": {
"cursorBlink": false
}
},
"termination": {
"style": {
"animationSpeed": 0,
"theme": "inverse"
},
"toggles": {
"cursorBlink": false
}
},
"tree-view": {
"hideIgnoredNames": true
},
"typewriter-scroll": {
"autoToggle": false
},
"vim-mode-plus": {
"statusBarModeStringStyle": "long"
},
"welcome": {
"showOnStartup": false
}
},
".latex.tex.text": {
"editor": {
"softWrap": false
}
},
".html.text.vue": {
"editor": {
"tabLength": 4
}
},
".html.php.text": {
"editor": {
"tabLength": 4
}
},
".go.source": {
"editor": {
"tabLength": 4,
"tabType": "hard"
}
}
}
# 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
.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;
}
.markdown-body {
font-family: 'Osaka';
font-size: 0.5em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment