Skip to content

Instantly share code, notes, and snippets.

@orlin
Last active June 10, 2021 15:29
Show Gist options
  • Save orlin/0a47688f152d7ceccb646a23e8245449 to your computer and use it in GitHub Desktop.
Save orlin/0a47688f152d7ceccb646a23e8245449 to your computer and use it in GitHub Desktop.
Atom Settings Backup by https://atom.io/packages/sync-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()}"
# https://git.io/atom_clojure_setup
# These add some convenience commands for cutting, copying, pasting, deleting, and indenting Lisp expressions.
# Applies the function f and then reverts the cursor positions back to their original location
maintainingCursorPosition = (f)->
editor = atom.workspace.getActiveTextEditor()
currSelected = editor.getSelectedBufferRanges()
f()
editor.setSelectedScreenRanges(currSelected)
# Cuts the current block of lisp code.
atom.commands.add 'atom-text-editor', 'jason:cut-sexp', ->
editor = atom.workspace.getActiveTextEditor()
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:up-sexp')
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:expand-selection')
atom.commands.dispatch(atom.views.getView(editor), 'core:cut')
# Copies the current block of lisp code.
atom.commands.add 'atom-text-editor', 'jason:copy-sexp', ->
maintainingCursorPosition ->
editor = atom.workspace.getActiveTextEditor()
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:up-sexp')
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:expand-selection')
atom.commands.dispatch(atom.views.getView(editor), 'core:copy')
# Pastes over current block of lisp code.
atom.commands.add 'atom-text-editor', 'jason:paste-sexp', ->
editor = atom.workspace.getActiveTextEditor()
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:up-sexp')
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:expand-selection')
atom.commands.dispatch(atom.views.getView(editor), 'core:paste')
# Deletes the current block of lisp code.
atom.commands.add 'atom-text-editor', 'jason:delete-sexp', ->
editor = atom.workspace.getActiveTextEditor()
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:up-sexp')
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:expand-selection')
atom.commands.dispatch(atom.views.getView(editor), 'core:delete')
# Indents the top level sexp.
atom.commands.add 'atom-text-editor', 'jason:indent-top-sexp', ->
maintainingCursorPosition ->
editor = atom.workspace.getActiveTextEditor()
range = protoRepl.EditorUtils.getCursorInClojureTopBlockRange(editor)
# Work around a lisp paredit bug where it can't indent a range if selected from the very beginning of the file
start = range.start
if start.column == 0 && start.row == 0
start.column = 1
editor.setSelectedScreenRange(range)
atom.commands.dispatch(atom.views.getView(editor), 'lisp-paredit:indent')
# 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
#
# 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
# https://git.io/atom_clojure_setup
# Allows using enter to select an autocomplete suggestion.
'.platform-darwin atom-text-editor[data-grammar~="clojure"].autocomplete-active':
'enter': 'autocomplete-plus:confirm'
'.platform-darwin atom-text-editor[data-grammar~="clojure"]':
# Indent the current selection
'cmd-i': 'lisp-paredit:indent'
# Expand the selection up a block
'ctrl-shift-m': 'lisp-paredit:expand-selection'
# Provides proper indentation when enter is pressed. (I disable normal lisp-paredit keybindings)
'enter': 'lisp-paredit:newline'
# Helpers for cutting, copying, pasting, deleting, and indenting a Clojure code
'cmd-shift-x': 'jason:cut-sexp'
'cmd-shift-c': 'jason:copy-sexp'
'cmd-shift-v': 'jason:paste-sexp'
'cmd-shift-delete': 'jason:delete-sexp'
'cmd-shift-d': 'jason:delete-sexp'
'cmd-shift-i': 'jason:indent-top-sexp'
# Miscellaneous helpers. Less applicable to clojure code. (optional)
'.platform-darwin atom-workspace atom-text-editor':
'alt-up': 'editor:move-line-up'
'alt-down': 'editor:move-line-down'
'cmd-alt-down': 'editor:duplicate-lines'
'cmd-d': 'editor:delete-line'
'ctrl-s':'tree-view:toggle'
'cmd-e': 'find-and-replace:select-next'
'cmd-alt-ctrl-w': 'editor:toggle-soft-wrap'
'alt-backspace': 'editor:delete-to-previous-word-boundary'
'alt-delete': 'editor:delete-to-next-word-boundary'
'ctrl-d': 'proto-repl:exit-repl'
'cmd-l': 'go-to-line:toggle'
'ctrl-l': 'proto-repl:clear-repl'
{
"about": {
"version": "1.9.1"
},
"aesthetic-ui": {
"version": "4.0.0",
"theme": "ui"
},
"an-old-hope-light-syntax": {
"version": "1.0.1",
"theme": "syntax"
},
"archive-view": {
"version": "0.65.2"
},
"ask-stack": {
"version": "2.2.0"
},
"atom-clock": {
"version": "0.1.18"
},
"atom-dark-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-dark-ui": {
"version": "0.53.3",
"theme": "ui"
},
"atom-light-syntax": {
"version": "0.29.1",
"theme": "syntax"
},
"atom-light-ui": {
"version": "0.46.3",
"theme": "ui"
},
"atom-material-syntax": {
"version": "1.0.8",
"theme": "syntax"
},
"atom-material-syntax-light": {
"version": "0.4.6",
"theme": "syntax"
},
"atom-material-ui": {
"version": "2.1.3",
"theme": "ui"
},
"atom-monokai": {
"version": "0.10.9",
"theme": "syntax"
},
"atom-shortcuts": {
"version": "0.0.2"
},
"atom-terminal": {
"version": "0.8.0"
},
"atom-typescript": {
"version": "14.3.1"
},
"atomic-chrome": {
"version": "0.3.3"
},
"autocomplete-atom-api": {
"version": "0.10.7"
},
"autocomplete-css": {
"version": "0.17.5"
},
"autocomplete-html": {
"version": "0.8.8"
},
"autocomplete-json": {
"version": "5.5.5"
},
"autocomplete-modules": {
"version": "2.3.0"
},
"autocomplete-paths": {
"version": "2.15.2"
},
"autocomplete-plus": {
"version": "2.42.4"
},
"autocomplete-snippets": {
"version": "1.12.1"
},
"autoflow": {
"version": "0.29.4"
},
"autosave": {
"version": "0.24.6"
},
"ayu": {
"version": "0.1.0",
"theme": "syntax"
},
"ayu-light-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"background-tips": {
"version": "0.28.0"
},
"base16-tomorrow-dark-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"base16-tomorrow-dark-ui": {
"version": "0.1.1",
"theme": "ui"
},
"base16-tomorrow-light-theme": {
"version": "1.6.0",
"theme": "syntax"
},
"block-travel": {
"version": "1.0.7"
},
"bookmarks": {
"version": "0.46.0"
},
"borealis-syntax": {
"version": "0.6.0",
"theme": "syntax"
},
"bracket-matcher": {
"version": "0.91.2"
},
"busy-signal": {
"version": "2.0.1"
},
"chlorine": {
"version": "0.11.2"
},
"clipboard-plus": {
"version": "0.5.1"
},
"clojure-color-scope-syntax": {
"version": "1.0.2",
"theme": "syntax"
},
"command-palette": {
"version": "0.43.5"
},
"dalek": {
"version": "0.2.2"
},
"dash": {
"version": "1.7.1"
},
"daylight-ui": {
"version": "0.2.2",
"theme": "ui"
},
"deprecation-cop": {
"version": "0.56.9"
},
"dev-live-reload": {
"version": "0.48.1"
},
"duotone-berries-syntax": {
"version": "0.1.1",
"theme": "syntax"
},
"duotone-blue-black-syntax": {
"version": "0.7.3",
"theme": "syntax"
},
"duotone-blue-dark-syntax": {
"version": "1.4.0",
"theme": "syntax"
},
"duotone-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"duotone-dusk-syntax": {
"version": "0.3.0",
"theme": "syntax"
},
"duotone-light-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"editorconfig": {
"version": "2.6.1"
},
"encoding-selector": {
"version": "0.23.9"
},
"exception-reporting": {
"version": "0.43.1"
},
"expose": {
"version": "0.15.0"
},
"ficus-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"ficus-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"file-icons": {
"version": "2.1.47"
},
"find-and-replace": {
"version": "0.219.7"
},
"find-selection": {
"version": "0.16.0"
},
"flatwhite-syntax": {
"version": "0.8.2",
"theme": "syntax"
},
"flowerbed-dark-syntax": {
"version": "2.0.0",
"theme": "syntax"
},
"focus-dark": {
"version": "1.2.0",
"theme": "syntax"
},
"focus-light": {
"version": "1.2.0",
"theme": "syntax"
},
"foggy-night-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"fonts": {
"version": "3.13.0"
},
"framer-syntax": {
"version": "1.1.0",
"theme": "syntax"
},
"framer-ui": {
"version": "2.0.0",
"theme": "ui"
},
"fuzzy-finder": {
"version": "1.14.3"
},
"gaia-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"gaia-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"galaxy-light-syntax": {
"version": "0.2.2",
"theme": "syntax"
},
"galaxy-syntax": {
"version": "1.1.0",
"theme": "syntax"
},
"gaslight-syntax": {
"version": "1.2.0",
"theme": "syntax"
},
"git-diff": {
"version": "1.3.9"
},
"git-diff-details": {
"version": "1.4.0"
},
"git-log": {
"version": "0.4.1"
},
"git-plus": {
"version": "8.7.1"
},
"git-time-machine": {
"version": "2.1.0"
},
"github": {
"version": "0.36.9"
},
"gl-dark-syntax": {
"version": "3.0.0",
"theme": "syntax"
},
"gl-light-syntax": {
"version": "3.0.0",
"theme": "syntax"
},
"go-to-line": {
"version": "0.33.0"
},
"grammar-selector": {
"version": "0.50.1"
},
"gruvbox": {
"version": "1.0.7",
"theme": "syntax"
},
"gruvbox-dark-ui": {
"version": "1.1.0",
"theme": "ui"
},
"gruvbox-mellow": {
"version": "0.2.0",
"theme": "syntax"
},
"gruvbox-plus-syntax": {
"version": "1.3.1",
"theme": "syntax"
},
"gruvbox-syntax": {
"version": "2.4.1",
"theme": "syntax"
},
"gulp-control": {
"version": "0.5.0"
},
"hacking-the-kernel": {
"version": "1.7.4",
"theme": "syntax"
},
"hacking-the-kernel-ui": {
"version": "1.8.5",
"theme": "ui"
},
"highlight-column": {
"version": "0.5.4"
},
"highlight-line": {
"version": "0.12.0"
},
"highlight-selected": {
"version": "0.17.0"
},
"hoon-assist": {
"version": "0.1.0"
},
"hyperclick": {
"version": "0.1.5"
},
"hypest-light": {
"version": "0.8.0",
"theme": "ui"
},
"image-view": {
"version": "0.64.0"
},
"incompatible-packages": {
"version": "0.27.3"
},
"ink": {
"version": "0.12.6"
},
"intentions": {
"version": "1.1.5"
},
"isotope-light-ui": {
"version": "2.3.0",
"theme": "ui"
},
"isotope-ui": {
"version": "2.8.5",
"theme": "ui"
},
"itg-dark-syntax": {
"version": "2.0.0",
"theme": "syntax"
},
"itg-light-syntax": {
"version": "0.4.0",
"theme": "syntax"
},
"jonikorpi-atom-solarized-syntax": {
"version": "0.2.4",
"theme": "syntax"
},
"jonikorpi-atom-theme-ui": {
"version": "4.4.1",
"theme": "ui"
},
"julia-client": {
"version": "0.12.6"
},
"keybinding-cheatsheet": {
"version": "0.1.1"
},
"keybinding-resolver": {
"version": "0.39.0"
},
"kobalt": {
"version": "0.7.1",
"theme": "syntax"
},
"language-c": {
"version": "0.60.19"
},
"language-clojure": {
"version": "0.22.8"
},
"language-coffee-script": {
"version": "0.50.0"
},
"language-csharp": {
"version": "1.1.0"
},
"language-css": {
"version": "0.44.4"
},
"language-elm": {
"version": "1.5.0"
},
"language-gfm": {
"version": "0.90.8"
},
"language-git": {
"version": "0.19.1"
},
"language-go": {
"version": "0.47.2"
},
"language-hoon": {
"version": "0.2.0"
},
"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-julia": {
"version": "0.21.1"
},
"language-less": {
"version": "0.34.3"
},
"language-make": {
"version": "0.23.0"
},
"language-markdown": {
"version": "0.37.0"
},
"language-mustache": {
"version": "0.14.5"
},
"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-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-solidity": {
"version": "0.1.1"
},
"language-source": {
"version": "0.9.0"
},
"language-sql": {
"version": "0.25.10"
},
"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-xml": {
"version": "0.35.3"
},
"language-yaml": {
"version": "0.32.0"
},
"latex-completions": {
"version": "0.3.6"
},
"line-ending-selector": {
"version": "0.7.7"
},
"link": {
"version": "0.31.6"
},
"linter": {
"version": "3.3.1"
},
"linter-clojure": {
"version": "1.2.0"
},
"linter-coffeelint": {
"version": "2.0.75"
},
"linter-eslint": {
"version": "8.6.6"
},
"linter-js-yaml": {
"version": "1.4.6"
},
"linter-jscs": {
"version": "4.2.4"
},
"linter-jsonlint": {
"version": "1.4.0"
},
"linter-kibit": {
"version": "0.1.2"
},
"linter-kondo": {
"version": "1.2.0"
},
"linter-sass-lint": {
"version": "1.9.0"
},
"linter-stylelint": {
"version": "4.5.1"
},
"linter-ui-default": {
"version": "3.3.1"
},
"lisp-paredit": {
"version": "0.8.0"
},
"live-archive": {
"version": "0.1.15"
},
"mac-fix-path": {
"version": "0.0.0"
},
"magus-dark-syntax": {
"version": "2.0.0",
"theme": "syntax"
},
"mark": {
"version": "1.3.3"
},
"markdown-preview": {
"version": "0.160.2"
},
"markdown-preview-plus": {
"version": "4.11.0"
},
"markdown-writer": {
"version": "2.11.11"
},
"marked": {
"version": "0.1.10"
},
"merge-conflicts": {
"version": "1.4.5"
},
"metrics": {
"version": "1.8.1"
},
"miami-nights-syntax": {
"version": "0.3.3",
"theme": "syntax"
},
"minimap": {
"version": "4.39.14"
},
"minimap-bookmarks": {
"version": "0.4.6"
},
"minimap-find-and-replace": {
"version": "5.0.8"
},
"minimap-git-diff": {
"version": "4.3.6"
},
"minimap-highlight-selected": {
"version": "4.6.5"
},
"minimap-pigments": {
"version": "0.2.2"
},
"minimap-selection": {
"version": "4.5.4"
},
"monokai-flat-ui": {
"version": "4.2.0",
"theme": "syntax"
},
"nefelio-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"neptune-dark-syntax": {
"version": "2.0.0",
"theme": "syntax"
},
"northem-light-atom-ui": {
"version": "2.1.1",
"theme": "ui"
},
"notifications": {
"version": "0.71.0"
},
"ocarina-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"ocarina-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"oceanic-reef-syntax": {
"version": "0.9.0",
"theme": "syntax"
},
"olivia-syntax": {
"version": "0.2.0",
"theme": "syntax"
},
"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"
},
"one-light-ui-adwaita": {
"version": "0.10.1",
"theme": "ui"
},
"open-on-github": {
"version": "1.3.2"
},
"overgrowth-dark-syntax": {
"version": "1.1.1",
"theme": "syntax"
},
"overgrowth-syntax": {
"version": "1.1.1",
"theme": "syntax"
},
"package-generator": {
"version": "1.3.0"
},
"parinfer": {
"version": "1.24.1"
},
"photon-syntax": {
"version": "0.10.2",
"theme": "syntax"
},
"piatto-light-syntax": {
"version": "0.2.2",
"theme": "syntax"
},
"pigments": {
"version": "0.40.6"
},
"playa-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"polymorph-ui": {
"version": "1.8.8",
"theme": "ui"
},
"pop-ui": {
"version": "0.6.1",
"theme": "ui"
},
"prettier-atom": {
"version": "0.60.1"
},
"project-manager": {
"version": "3.3.8"
},
"proto-repl": {
"version": "1.4.24"
},
"proto-repl-charts": {
"version": "0.4.1"
},
"proton-framer": {
"version": "0.11.0",
"theme": "syntax"
},
"Purple-rain-ui": {
"version": "0.2.0",
"theme": "ui"
},
"rain-ui": {
"version": "1.1.0",
"theme": "ui"
},
"rainglow": {
"version": "1.5.5",
"theme": "syntax"
},
"recent-files-fuzzy-finder": {
"version": "1.0.0"
},
"reykjavik-syntax": {
"version": "0.2.0",
"theme": "syntax"
},
"set-syntax": {
"version": "0.4.0"
},
"settings-view": {
"version": "0.261.8"
},
"silkworm-syntax": {
"version": "0.2.0",
"theme": "syntax"
},
"snippets": {
"version": "1.5.1"
},
"soda-light-ui": {
"version": "0.2.0",
"theme": "ui"
},
"soft-charcoal-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"solarized-dark-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-light-syntax": {
"version": "1.3.0",
"theme": "syntax"
},
"solarized-one-light-ui": {
"version": "1.12.5",
"theme": "ui"
},
"sonho-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"sonho-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"sort-lines": {
"version": "0.19.0"
},
"sourcegraph": {
"version": "1.0.5"
},
"spacegray-light-neue-ui": {
"version": "0.1.7",
"theme": "ui"
},
"spell-check": {
"version": "0.77.1"
},
"status-bar": {
"version": "1.8.17"
},
"styleguide": {
"version": "0.49.12"
},
"symbiosis-dark-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"symbiosis-syntax": {
"version": "2.1.0",
"theme": "syntax"
},
"symbols-tree-view": {
"version": "0.14.0"
},
"symbols-view": {
"version": "0.118.4"
},
"sync-settings": {
"version": "5.2.11"
},
"tabs": {
"version": "0.110.0"
},
"theme-reel": {
"version": "1.2.0"
},
"theme-switcher": {
"version": "1.1.0"
},
"timecop": {
"version": "0.36.2"
},
"tinacious-design-light-syntax": {
"version": "1.2.2",
"theme": "syntax"
},
"tinacious-design-syntax": {
"version": "1.0.2",
"theme": "syntax"
},
"tinacious-design-syntax-purple": {
"version": "0.5.1",
"theme": "syntax"
},
"tomorrow": {
"version": "1.0.0",
"theme": "syntax"
},
"tomorrow-ui": {
"version": "0.3.0",
"theme": "ui"
},
"tool-bar": {
"version": "1.4.4"
},
"travis-ci-status": {
"version": "1.3.1"
},
"tree-view": {
"version": "0.228.3"
},
"tree-view-copy-project-path": {
"version": "1.0.1"
},
"tree-view-git-status": {
"version": "1.5.3"
},
"two-light-ui": {
"version": "1.1.3",
"theme": "ui"
},
"uber-juno": {
"version": "0.3.0"
},
"update-package-dependencies": {
"version": "0.13.1"
},
"vector-syntax": {
"version": "1.1.0",
"theme": "syntax"
},
"vim-mode": {
"version": "0.66.0"
},
"vim-mode-clipboard-plus": {
"version": "0.3.0"
},
"vim-mode-plus": {
"version": "1.36.6"
},
"warm-night-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"welcome": {
"version": "0.36.9"
},
"whitesand": {
"version": "0.1.0",
"theme": "syntax"
},
"whitespace": {
"version": "0.37.7"
},
"wrap-guide": {
"version": "0.41.0"
},
"xml-formatter": {
"version": "0.13.0"
},
"zenburn": {
"version": "3.1.0",
"theme": "syntax"
},
"zenburn-plus-syntax": {
"version": "0.1.0",
"theme": "syntax"
},
"zenburn-plus-ui": {
"version": "0.2.1",
"theme": "ui"
},
"zenburn-prime-syntax": {
"version": "0.2.1",
"theme": "syntax"
},
"zenburn-ui": {
"version": "0.2.1",
"theme": "ui"
}
}
{
"*": {
"": {
"clojure": {
"source": {
"editor": {
"autoIndentOnPaste": true,
"showIndentGuide": false,
"showInvisibles": false
}
}
}
},
"*": {
"autocomplete-modules": {
"babelPluginModuleResolver": true
},
"block-cursor": {
"global": {
"blinkOn": {
"backgroundColor": "#0e3808",
"borderStyle": "bordered-box"
},
"cursorLineFix": true
}
},
"core": {
"disabledPackages": [
"language-gfm",
"julia-client",
"autocomplete-json",
"atom-clock",
"linter-clojure",
"linter-kondo"
],
"packagesWithKeymapsDisabled": [
"lisp-paredit"
],
"telemetryConsent": "limited",
"themes": [
"polymorph-ui",
"silkworm-syntax"
]
},
"editor": {
"autoIndentOnPaste": false,
"fontSize": 16,
"scrollPastEnd": true,
"softWrap": true
},
"exception-reporting": {
"userId": "2993521c-fb78-f426-9182-55079b0a71b0"
},
"fonts": {
"fontFamily": "FiraCode"
},
"git-plus": {
"general": {
"_analyticsUserId": "83e591f4-eaca-4770-a78d-125f18cca9d3"
}
},
"highlight-column": {
"opacity": 0.03
},
"highlight-line": {
"enableSelectionBorder": true
},
"julia-client": {
"enableMenu": true,
"enableToolBar": true,
"launchOnStartup": true
},
"linter-clojure": {
"clojureExecutablePath": "/usr/local/bin/clojure"
},
"linter-eslint": {
"advanced": {
"disableEslintIgnore": true
}
},
"linter-jscs": {
"esnext": true,
"onlyConfig": true
},
"linter-sass-lint": {
"noConfigDisable": true,
"resolvePathsRelativeToConfig": true
},
"linter-write-good": {
"severityLevel": "Info"
},
"lisp-paredit": {
"indentationForms": [
"try",
"catch",
"finally",
"let",
"are",
"/^def.*/",
"fn",
"cond",
"if",
"if-let",
"for",
"/when.*/",
"testing",
"doseq",
"dotimes",
"loop",
"ns"
],
"strict": false
},
"minimap": {
"plugins": {
"bookmarks": true,
"bookmarksDecorationsZIndex": 0,
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0,
"git-diff": true,
"git-diffDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"pigments": true,
"pigmentsDecorationsZIndex": 0,
"selection": true,
"selectionDecorationsZIndex": 0
}
},
"prettier-atom": {
"formatOnSaveOptions": {
"enabled": true
},
"silenceErrors": true,
"useEslint": true
},
"proto-repl": {
"autoPrettyPrint": true
},
"theme-switcher": {
"syntaxThemeOne": "duotone-light-syntax",
"syntaxThemeTwo": "jonikorpi-atom-solarized-syntax",
"uiThemeOne": "polymorph-ui",
"uiThemeTwo": "isotope-ui"
},
"tool-bar": {
"position": "Right",
"visible": false
},
"tree-view": {
"hideVcsIgnoredFiles": true
},
"uber-juno": {
"disable": true
},
"vim-mode-plus": {
"useClipboardAsDefaultRegister": true
},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ignoreWhitespaceOnCurrentLine": false,
"keepMarkdownLineBreakWhitespace": false
}
},
"autocomplete-modules": {
"babelPluginModuleResolver": true
},
"block-cursor": {
"global": {
"blinkOn": {
"backgroundColor": "#0e3808",
"borderStyle": "bordered-box"
},
"cursorLineFix": true
}
},
"core": {
"audioBeep": false,
"disabledPackages": [
"language-gfm",
"julia-client",
"autocomplete-json",
"atom-clock",
"markdown-preview",
"linter-clojure",
"vim-mode"
],
"packagesWithKeymapsDisabled": [
"lisp-paredit"
],
"telemetryConsent": "limited",
"themes": [
"one-light-ui",
"sonho-syntax"
]
},
"daylight-ui": {
"layoutMode": "Compact"
},
"editor": {
"autoIndentOnPaste": false,
"fontSize": 16,
"invisibles": {},
"scrollPastEnd": true,
"softWrap": true,
"tabType": "soft"
},
"exception-reporting": {
"userId": "2993521c-fb78-f426-9182-55079b0a71b0"
},
"fonts": {
"fontFamily": "Iosevka"
},
"git-plus": {
"general": {
"_analyticsUserId": "83e591f4-eaca-4770-a78d-125f18cca9d3"
}
},
"gruvbox-plus-syntax": {
"contrast": "Hard",
"variant": "No Dimmed Colors"
},
"highlight-column": {
"opacity": 0.03
},
"highlight-line": {
"enableSelectionBorder": true
},
"hypest-light": {},
"isotope-light-ui": {
"matchEditorFont": true,
"minimalMode": true
},
"isotope-ui": {
"lowContrastTooltip": true,
"matchEditorFont": true,
"minimalMode": true
},
"julia-client": {
"enableMenu": true,
"enableToolBar": true,
"launchOnStartup": true
},
"linter-clojure": {
"clojureExecutablePath": "clojure"
},
"linter-eslint": {
"advanced": {
"disableEslintIgnore": true
}
},
"linter-jscs": {
"esnext": true,
"onlyConfig": true
},
"linter-sass-lint": {
"noConfigDisable": true,
"resolvePathsRelativeToConfig": true
},
"linter-ui-default": {
"largeFileLineCount": 40000,
"showPanel": true,
"longLineLength": 7000
},
"linter-write-good": {
"severityLevel": "Info"
},
"lisp-paredit": {
"indentationForms": [
"try",
"catch",
"finally",
"let",
"are",
"/^def.*/",
"fn",
"cond",
"if",
"if-let",
"for",
"/when.*/",
"testing",
"doseq",
"dotimes",
"loop",
"ns"
],
"strict": false
},
"minimap": {
"plugins": {
"bookmarks": true,
"bookmarksDecorationsZIndex": 0,
"find-and-replace": true,
"find-and-replaceDecorationsZIndex": 0,
"git-diff": true,
"git-diffDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"pigments": true,
"pigmentsDecorationsZIndex": 0,
"selection": true,
"selectionDecorationsZIndex": 0
}
},
"one-dark-ui": {
"fontSize": 14
},
"one-light-ui": {
"fontSize": 14
},
"one-light-ui-adwaita": {
"fontSize": 10
},
"parinfer": {
"file-extensions": [
".boot",
".cl",
".clj",
".cljc",
".cljs",
".edn",
".el",
".lfe",
".lisp",
".lsp",
".rkt",
".scm"
]
},
"prettier-atom": {
"formatOnSaveOptions": {
"enabled": true
},
"silenceErrors": true,
"useEslint": true
},
"pristine-ui": {
"fontSize": 13
},
"project-manager": {},
"project-plus": {},
"project-view": {
"displayPath": false
},
"proto-repl": {
"autoPrettyPrint": true
},
"solarized-one-light-ui": {
"fontSize": 14,
"tabSizing": "Maximum"
},
"sync-settings": {
"hiddenSettings": {},
"installLatestVersion": true
},
"theme-switcher": {
"syntaxThemeOne": "sonho-syntax",
"syntaxThemeTwo": "ocarina-dark-syntax",
"uiThemeOne": "one-light-ui",
"uiThemeTwo": "one-dark-ui"
},
"tool-bar": {
"position": "Right",
"visible": false
},
"two-light-ui": {
"fontSize": 14,
"layoutMode": "Compact"
},
"uber-juno": {
"disable": true
},
"vim-mode": {},
"vim-mode-plus": {
"useClipboardAsDefaultRegister": true
},
"welcome": {
"showOnStartup": false
},
"whitespace": {
"ignoreWhitespaceOnCurrentLine": false,
"keepMarkdownLineBreakWhitespace": false
},
"zenburn-plus-ui": {}
},
".clojure.source": {
"editor": {
"autoIndentOnPaste": true,
"showIndentGuide": false,
"showInvisibles": false
}
},
".hoon.source": {
"editor": {
"autoIndentOnPaste": 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'
#
# 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%);
text-rendering: optimizeLegibility;
}
atom-text-editor::shadow .string.quoted,
atom-text-editor::shadow .string.regexp {
-webkit-font-feature-settings: "liga" off, "calt" off;
}
// To style other content in the text editor's shadow DOM, use the ::shadow expression
atom-text-editor::shadow .cursor {
// border-color: red;
}
atom-text-editor::shadow {
// The cursor line important to use rgba for opacity, also requires !important
// to override any theme.
.line.highlight-line {
background: rgba(255, 0, 0, 0.03) !important;
}
}
// Clojure
.proto-repl-repl::shadow .lisp-syntax-error .region {
background-color: rgba(0, 0, 0, 0) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment