Skip to content

Instantly share code, notes, and snippets.

@voznik
Last active April 25, 2018 09:15
Show Gist options
  • Save voznik/d3ba15f4190efe608f6a6ef010cb0c5a to your computer and use it in GitHub Desktop.
Save voznik/d3ba15f4190efe608f6a6ef010cb0c5a to your computer and use it in GitHub Desktop.
voznik's atom settings
# Made with ♥ for a healthy Atom.
# Avoid copy empty lines.
# https://discuss.atom.io/t/resolved-avoid-copying-when-selection-is-empty/
atom.commands.add 'atom-text-editor', 'core:copy', (e) ->
editor = e.currentTarget.getModel()
return if editor.getSelectedBufferRanges().length > 1
{start, end} = editor.getSelectedBufferRange()
if start.column is end.column and start.row is end.row
e.stopImmediatePropagation()
# Auto-indent without select all before.
# http://stackoverflow.com/a/33927654
atom.commands.add 'atom-text-editor', 'custom:reformat', ->
editor = atom.workspace.getActiveTextEditor();
oldRanges = editor.getSelectedBufferRanges();
editor.selectAll();
atom.commands.dispatch(atom.views.getView(editor), 'editor:auto-indent')
editor.setSelectedBufferRanges(oldRanges);
# regular JavaScript to JavaScript (JSX)
# http://technology.customink.com/blog/2016/05/23/configuring-atom/
atom.commands.add 'atom-text-editor', 'custom:js-to-jsx', ->
grammars = atom.grammars.getGrammars()
grammar = grammars.find((g) ->
g.name == "JavaScript (JSX)"
)
editor = atom.workspace.getActiveTextEditor()
editor.setGrammar(grammar)
# Your keymap
#
#
# Emmet language-specific Tab triggers
'atom-text-editor[data-grammar="text html jade angular css sass scss smarty php twig"]:not([mini])':
# 'atom-text-editor[data-grammar="text html basic angular php twig smarty"]:not([mini]), atom-text-editor[data-grammar~="erb"]:not([mini]), atom-text-editor[data-grammar~="jade"]:not([mini]), atom-text-editor[data-grammar~="css"]:not([mini]), atom-text-editor[data-grammar~="stylus"]:not([mini]), atom-text-editor[data-grammar~="sass"]:not([mini]), atom-text-editor[data-grammar~="scss"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
'ctrl-shift-up': 'emmet:increment-number-by-1'
'ctrl-shift-down': 'emmet:decrement-number-by-1'
'atom-text-editor[data-grammar~="html angular smarty twig"]':
"ctrl-alt-shift-backspace": 'emmet:update-tag'
'ctrl+<': 'autoclose-html:close-and-complete'
# 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
#
'.platform-linux':
'alt': 'abort!'
'caps': 'abort!'
# 'cmd': 'abort!'
'alt-f1': 'window:toggle-menu-bar'
'ctrl-cmd-0': 'git-plus:checkout-current-file'
'.platform-linux atom-text-editor:not(.mini), .platform-win32 atom-text-editor:not(.mini)':
'alt-shift-v': 'indent-toggle-on-paste:paste'
# '.platform-linux atom-text-editor:not(.mini), .platform-win32 atom-text-editor:not(.mini)':
'atom-text-editor':
'alt-up': 'expand-region:expand'
'alt-down': 'expand-region:shrink'
'ctrl-cmd-i': 'editor:auto-indent'
'ctrl-cmd-t': 'tabs-to-spaces:untabify'
'alt-shift-w' : 'pane:close-other-items'
'alt-shift-2': 'pane:split-right-and-copy-active-item'
# node debugger
# 'f5': 'node-debugger:start-resume'
# 'ctrl-f5': 'node-debugger:start-active-file'
# 'shift-f5': 'node-debugger:stop'
# 'f9': 'node-debugger:toggle-breakpoint'
# 'f10': 'node-debugger:step-next'
# 'f11': 'node-debugger:step-in'
# 'shift-f11': 'node-debugger:step-out'
# 'f12': 'node-debugger:toggle-debugger'
#
'atom-workspace':
'ctrl-*': 'git-plus:menu'
# Key bindings for multi-cursor github.com/akmur/atom-configuration
'alt-cmd-x': 'multi-cursor-plus:mark'
'alt-cmd-up': 'multi-cursor-plus:move-up'
'alt-cmd-down': 'multi-cursor-plus:move-down'
'alt-cmd-left': 'multi-cursor-plus:move-left'
'alt-cmd-right': 'multi-cursor-plus:move-right'
'alt-cmd-ctrl-left': 'multi-cursor-plus:move-to-beginning-of-word'
'alt-cmd-ctrl-right': 'multi-cursor-plus:move-to-end-of-word'
'alt-cmd-ctrl-,': 'multi-cursor-plus:move-to-first-character-of-line'
'alt-cmd-ctrl-.': 'multi-cursor-plus:move-to-end-of-line'
'alt-cmd-ctrl-l': 'multi-cursor-plus:select-to-first-character-of-line'
'alt-cmd-ctrl-;': 'multi-cursor-plus:select-to-end-of-line'
'alt-pageup': 'last-cursor-position:previous'
'alt-pagedown': 'last-cursor-position:next'
[
{
"name": "Quick-JavaScript",
"version": "2.2.0"
},
{
"name": "Stylus",
"version": "3.1.1"
},
{
"name": "Sublime-Style-Column-Selection",
"version": "1.7.4"
},
{
"name": "about",
"version": "1.7.8"
},
{
"name": "advanced-open-file",
"version": "0.16.8"
},
{
"name": "amnesia-io",
"version": "0.4.6"
},
{
"name": "angular-2-typeScript-snippets",
"version": "0.7.0"
},
{
"name": "angularjs",
"version": "0.5.3"
},
{
"name": "api-blueprint-preview",
"version": "0.7.0"
},
{
"name": "archive-view",
"version": "0.64.1"
},
{
"name": "atom-autocomplete-php",
"version": "0.25.6"
},
{
"name": "atom-beautify",
"version": "0.32.2"
},
{
"name": "atom-bootstrap3",
"version": "1.2.12"
},
{
"name": "atom-bootstrap4",
"version": "1.4.0"
},
{
"name": "atom-css-clean",
"version": "2.24.1"
},
{
"name": "atom-css-comb",
"version": "3.3.1"
},
{
"name": "atom-csv-markdown",
"version": "1.0.2"
},
{
"name": "atom-dark-fusion-syntax",
"version": "2.2.1",
"theme": "syntax"
},
{
"name": "atom-dark-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.53.1",
"theme": "ui"
},
{
"name": "atom-import-sort",
"version": "4.2.0"
},
{
"name": "atom-jasmine",
"version": "0.9.1"
},
{
"name": "atom-light-syntax",
"version": "0.29.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.46.1",
"theme": "ui"
},
{
"name": "atom-material-syntax",
"version": "1.0.8",
"theme": "syntax"
},
{
"name": "atom-material-syntax-light",
"version": "0.4.6",
"theme": "syntax"
},
{
"name": "atom-material-ui",
"version": "2.1.3",
"theme": "ui"
},
{
"name": "atom-switch-extension",
"version": "0.1.5"
},
{
"name": "atom-ternjs",
"version": "0.18.3"
},
{
"name": "atom-typescript",
"version": "12.3.8"
},
{
"name": "autoclose-html",
"version": "0.23.0"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.6"
},
{
"name": "autocomplete-css",
"version": "0.17.5"
},
{
"name": "autocomplete-html",
"version": "0.8.4"
},
{
"name": "autocomplete-json",
"version": "5.5.2"
},
{
"name": "autocomplete-modules",
"version": "2.0.0"
},
{
"name": "autocomplete-paths",
"version": "2.12.2"
},
{
"name": "autocomplete-plus",
"version": "2.40.0"
},
{
"name": "autocomplete-snippets",
"version": "1.11.2"
},
{
"name": "autocomplete-xml",
"version": "0.9.4"
},
{
"name": "autoflow",
"version": "0.29.0"
},
{
"name": "autosave",
"version": "0.24.6"
},
{
"name": "background-tips",
"version": "0.27.1"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "bliss-syntax",
"version": "0.3.3",
"theme": "syntax"
},
{
"name": "bliss-ui",
"version": "0.6.0",
"theme": "ui"
},
{
"name": "bookmarks",
"version": "0.45.0"
},
{
"name": "bracket-matcher",
"version": "0.88.1"
},
{
"name": "browser-plus",
"version": "0.0.98"
},
{
"name": "busy-signal",
"version": "1.4.3"
},
{
"name": "cdn-libs",
"version": "0.1.3"
},
{
"name": "color-picker",
"version": "2.3.0"
},
{
"name": "command-palette",
"version": "0.43.3"
},
{
"name": "compare-files",
"version": "0.8.1"
},
{
"name": "convert-html-to-js",
"version": "1.0.3"
},
{
"name": "cson",
"version": "2.0.1"
},
{
"name": "css-specificity",
"version": "0.2.2"
},
{
"name": "ctrl-last-tab",
"version": "0.3.0"
},
{
"name": "dalek",
"version": "0.2.1"
},
{
"name": "dash",
"version": "1.7.1"
},
{
"name": "deprecation-cop",
"version": "0.56.9"
},
{
"name": "dev-live-reload",
"version": "0.48.1"
},
{
"name": "dev-tools-themes",
"version": "0.1.3"
},
{
"name": "docblockr",
"version": "0.13.7"
},
{
"name": "duotone-dark-sea-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "duotone-dark-sky-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "editorconfig",
"version": "2.2.2"
},
{
"name": "element-finder",
"version": "0.1.3"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "emmet-snippets-compatibility",
"version": "1.0.6"
},
{
"name": "encoding-selector",
"version": "0.23.7"
},
{
"name": "exception-reporting",
"version": "0.42.0"
},
{
"name": "expand-region",
"version": "0.4.0"
},
{
"name": "expand-selection-to-quotes",
"version": "0.11.0"
},
{
"name": "expose",
"version": "0.15.0"
},
{
"name": "fakeimg-atom-snippet",
"version": "0.1.0"
},
{
"name": "file-icons",
"version": "2.1.18"
},
{
"name": "find-and-replace",
"version": "0.215.0"
},
{
"name": "flex-tool-bar",
"version": "2.0.2"
},
{
"name": "fuzzy-finder",
"version": "1.7.3"
},
{
"name": "gist-it",
"version": "0.9.2"
},
{
"name": "git-control",
"version": "0.9.0"
},
{
"name": "git-diff",
"version": "1.3.6"
},
{
"name": "git-log",
"version": "0.4.1"
},
{
"name": "git-plus",
"version": "7.10.2"
},
{
"name": "git-status",
"version": "0.3.4"
},
{
"name": "git-time-machine",
"version": "1.5.9"
},
{
"name": "github",
"version": "0.8.4"
},
{
"name": "go-to-line",
"version": "0.32.1"
},
{
"name": "goto",
"version": "1.8.3"
},
{
"name": "goto-definition",
"version": "1.3.4"
},
{
"name": "grammar-selector",
"version": "0.49.8"
},
{
"name": "grunt-runner",
"version": "0.14.0"
},
{
"name": "hashrocket",
"version": "0.4.10"
},
{
"name": "highlight-selected",
"version": "0.13.1"
},
{
"name": "html-head-snippets",
"version": "0.2.0"
},
{
"name": "html-nested-comments",
"version": "3.4.0"
},
{
"name": "icon-fonts",
"version": "2.18.2"
},
{
"name": "image-view",
"version": "0.62.4"
},
{
"name": "incompatible-packages",
"version": "0.27.3"
},
{
"name": "indent-toggle-on-paste",
"version": "0.1.3"
},
{
"name": "intentions",
"version": "1.1.5"
},
{
"name": "ionic-framework-snippets",
"version": "1.2.1"
},
{
"name": "ionic-preview",
"version": "0.7.0"
},
{
"name": "keybinding-resolver",
"version": "0.38.1"
},
{
"name": "language-apache",
"version": "1.8.0"
},
{
"name": "language-api-blueprint",
"version": "1.0.2"
},
{
"name": "language-babel",
"version": "2.84.0"
},
{
"name": "language-c",
"version": "0.58.1"
},
{
"name": "language-clojure",
"version": "0.22.5"
},
{
"name": "language-coffee-script",
"version": "0.49.3"
},
{
"name": "language-csharp",
"version": "0.14.3"
},
{
"name": "language-css",
"version": "0.42.8"
},
{
"name": "language-gfm",
"version": "0.90.3"
},
{
"name": "language-git",
"version": "0.19.1"
},
{
"name": "language-gitignore",
"version": "0.3.0"
},
{
"name": "language-go",
"version": "0.44.4"
},
{
"name": "language-html",
"version": "0.48.5"
},
{
"name": "language-html-angular",
"version": "1.0.16"
},
{
"name": "language-hyperlink",
"version": "0.16.3"
},
{
"name": "language-ignore",
"version": "1.7.4"
},
{
"name": "language-java",
"version": "0.27.6"
},
{
"name": "language-javascript",
"version": "0.127.7"
},
{
"name": "language-js-inline-hbs",
"version": "0.8.0"
},
{
"name": "language-json",
"version": "0.19.1"
},
{
"name": "language-less",
"version": "0.34.1"
},
{
"name": "language-log",
"version": "1.10.1"
},
{
"name": "language-make",
"version": "0.22.3"
},
{
"name": "language-markdown",
"version": "0.25.1"
},
{
"name": "language-mustache",
"version": "0.14.4"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.38.1"
},
{
"name": "language-php",
"version": "0.43.0"
},
{
"name": "language-property-list",
"version": "0.9.1"
},
{
"name": "language-python",
"version": "0.45.6"
},
{
"name": "language-ruby",
"version": "0.71.4"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.3"
},
{
"name": "language-sass",
"version": "0.61.3"
},
{
"name": "language-shellscript",
"version": "0.25.4"
},
{
"name": "language-smarty",
"version": "1.8.0"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.9"
},
{
"name": "language-text",
"version": "0.7.3"
},
{
"name": "language-todo",
"version": "0.29.3"
},
{
"name": "language-toml",
"version": "0.18.1"
},
{
"name": "language-typescript",
"version": "0.2.3"
},
{
"name": "language-vue",
"version": "0.23.1"
},
{
"name": "language-xml",
"version": "0.35.2"
},
{
"name": "language-yaml",
"version": "0.31.1"
},
{
"name": "last-cursor-position",
"version": "0.9.2"
},
{
"name": "less-than-slash",
"version": "0.18.0"
},
{
"name": "line-ending-selector",
"version": "0.7.4"
},
{
"name": "link",
"version": "0.31.4"
},
{
"name": "linter",
"version": "2.2.0"
},
{
"name": "linter-api-blueprint",
"version": "0.4.0"
},
{
"name": "linter-bootlint",
"version": "1.1.0"
},
{
"name": "linter-csslint",
"version": "2.0.0"
},
{
"name": "linter-eslint",
"version": "8.4.1"
},
{
"name": "linter-js-yaml",
"version": "1.3.0"
},
{
"name": "linter-jshint",
"version": "3.1.6"
},
{
"name": "linter-jsonlint",
"version": "1.3.0"
},
{
"name": "linter-php",
"version": "1.5.1"
},
{
"name": "linter-sass-lint",
"version": "1.8.3"
},
{
"name": "linter-scss-lint",
"version": "3.1.1"
},
{
"name": "linter-stylint",
"version": "2.2.8"
},
{
"name": "linter-tidy",
"version": "2.3.1"
},
{
"name": "linter-tslint",
"version": "1.9.1"
},
{
"name": "linter-twig",
"version": "0.4.2"
},
{
"name": "linter-ui-default",
"version": "1.7.1"
},
{
"name": "linter-xmllint",
"version": "1.4.3"
},
{
"name": "lipsum",
"version": "0.1.0"
},
{
"name": "livestyle-atom",
"version": "0.2.10"
},
{
"name": "lodash-snippets",
"version": "2.0.0"
},
{
"name": "markdown-preview",
"version": "0.159.20"
},
{
"name": "markdown-table-formatter",
"version": "2.9.2"
},
{
"name": "material-oceanic-syntax",
"version": "0.1.1",
"theme": "syntax"
},
{
"name": "mdl-snippets",
"version": "0.3.0"
},
{
"name": "metrics",
"version": "1.2.6"
},
{
"name": "minimap",
"version": "4.29.8"
},
{
"name": "minimap-cursorline",
"version": "0.2.0"
},
{
"name": "minimap-highlight-selected",
"version": "4.6.1"
},
{
"name": "notifications",
"version": "0.70.2"
},
{
"name": "oceanic-next",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "odoo-snippets",
"version": "0.3.2"
},
{
"name": "one-dark-syntax",
"version": "1.8.1",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.10.9",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.8.1",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.10.9",
"theme": "ui"
},
{
"name": "open-in-browser",
"version": "0.5.2"
},
{
"name": "open-on-github",
"version": "1.3.1"
},
{
"name": "package-atom-snippets",
"version": "0.1.11"
},
{
"name": "package-generator",
"version": "1.3.0"
},
{
"name": "php-debug",
"version": "0.2.6"
},
{
"name": "php-twig",
"version": "4.0.0"
},
{
"name": "pigments",
"version": "0.40.2"
},
{
"name": "placeholder-text",
"version": "0.1.1"
},
{
"name": "prettier-atom",
"version": "0.53.0"
},
{
"name": "pristine-ui",
"version": "1.1.11",
"theme": "ui"
},
{
"name": "project-manager",
"version": "3.3.5"
},
{
"name": "remember-folds",
"version": "0.3.0"
},
{
"name": "remote-edit",
"version": "1.9.0"
},
{
"name": "settings-view",
"version": "0.253.1-0"
},
{
"name": "smart-backspace",
"version": "0.2.3"
},
{
"name": "smart-tags",
"version": "0.1.5"
},
{
"name": "snippets",
"version": "1.1.9"
},
{
"name": "solarized-dark-syntax",
"version": "1.1.3",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.1.3",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.72.5"
},
{
"name": "split-diff",
"version": "1.5.2"
},
{
"name": "status-bar",
"version": "1.8.15"
},
{
"name": "styleguide",
"version": "0.49.9"
},
{
"name": "sublime-block-comment",
"version": "0.5.1"
},
{
"name": "symbols-view",
"version": "0.118.1"
},
{
"name": "sync-settings",
"version": "0.8.6"
},
{
"name": "tab-smart-sort",
"version": "0.3.0"
},
{
"name": "tabs",
"version": "0.109.1"
},
{
"name": "terminal-fusion",
"version": "2.4.4"
},
{
"name": "tidy-markdown",
"version": "3.0.1"
},
{
"name": "timecop",
"version": "0.36.2"
},
{
"name": "todo-show",
"version": "2.3.0"
},
{
"name": "toggle-quotes",
"version": "1.1.0"
},
{
"name": "tool-bar",
"version": "1.1.7"
},
{
"name": "tool-bar-atom",
"version": "1.7.0"
},
{
"name": "tree-view",
"version": "0.221.3"
},
{
"name": "tsx-tags-autocomplete",
"version": "0.1.0"
},
{
"name": "turbo-javascript",
"version": "1.4.0"
},
{
"name": "update-package-dependencies",
"version": "0.13.0"
},
{
"name": "welcome",
"version": "0.36.6"
},
{
"name": "whitespace",
"version": "0.37.5"
},
{
"name": "wrap-guide",
"version": "0.40.3"
},
{
"name": "zentabs",
"version": "0.8.9"
}
]
{
"Sublime-Style-Column-Selection": {
"selectKeyTrigger": "Ctrl"
},
"atom-autocomplete-php": {
"classMapFiles": [
"vendor/composer/autoload_classmap.php",
"autoload/ezp_kernel.php",
"app/cache/dev/classes.php\u0000"
]
},
"atom-beautify": {
"css": {
"convert_quotes": "single",
"default_beautifier": "CSScomb",
"indent_size": 2,
"no_lead_zero": true
},
"general": {
"_analyticsUserId": "a28cf255-0319-4413-88e1-fa23af8e7cde",
"beautifyEntireFileOnSave": false,
"loggerLevel": "debug"
},
"html": {
"default_beautifier": "Pretty Diff"
},
"json": {},
"php": {
"cs_fixer_path": "/home/voznik/.config/composer/vendor/bin/php-cs-fixer"
},
"scss": {
"convert_quotes": "single",
"indent_size": 2,
"no_lead_zero": true
},
"twig": {
"indent_size": 2
}
},
"atom-material-ui": {
"colors": {
"abaseColor": "#80deea",
"accentColor": "#528c94",
"genAccent": true,
"paintCursor": true,
"predefinedColor": "Cyan"
},
"fonts": {},
"tabs": {
"compactTabs": true
},
"treeView": {
"compactList": true
},
"ui": {
"panelContrast": true,
"useAnimations": false
}
},
"atom-package-deps": {
"ignored": []
},
"atom-switch-extension": {
"fileExtensions": [
".js",
".html",
".css",
".ts",
".scsso"
]
},
"atom-ternjs": {
"excludeLowerPriorityProviders": true,
"lint": false,
"snippetsFirst": true,
"ternServerGetFileAsync": false,
"useSnippets": true
},
"atom-typescript": {},
"autoclose-html": {},
"autocomplete-paths": {
"maxFileCount": 3000,
"normalizeSlashes": false
},
"autocomplete-plus": {
"backspaceTriggersAutocomplete": true,
"confirmCompletion": "tab always, enter when suggestion explicitly selected"
},
"browser-plus": {
"homepage": "localhost"
},
"color-picker": {
"preferredFormat": "HEX"
},
"command-palette": {
"preserveLastSearch": true
},
"core": {
"allowPendingPaneItems": false,
"closeDeletedFileTabs": true,
"disabledPackages": [
"color-picker",
"hashrocket",
"language-ruby-on-rails",
"language-clojure",
"language-go",
"language-toml",
"preview-plus",
"css-specificity",
"remote-edit",
"seti-icons",
"grunt-runner",
"linter-tidy",
"goto",
"html-nested-comments",
"mdl-snippets",
"placeholder-text",
"linter-bootlint",
"linter-csslint",
"git-status",
"linter-scss-lint",
"browser-plus",
"git-control",
"atom-bootstrap3",
"ctrl-last-tab",
"linter-sass-lint",
"turbo-javascript",
"dev-tools-themes",
"language-gfm",
"autocomplete-atom-api",
"compare-files",
"gist-it",
"odoo-snippets",
"ionic-framework-snippets",
"lodash-snippets",
"zentabs",
"atom-jasmine",
"livestyle-atom",
"ionic-preview",
"atom-css-clean",
"icon-fonts",
"split-diff",
"linter-xmllint",
"autocomplete-xml",
"minimap",
"minimap-cursorline",
"minimap-highlight-selected",
"php-debug",
"flex-tool-bar",
"tab-smart-sort",
"autocomplete-paths",
"element-finder",
"atom-css-comb",
"atom-autocomplete-php",
"tidy-markdown",
"expose",
"fakeimg-atom-snippet",
"git-time-machine",
"pigments",
"language-js-inline-hbs",
"last-cursor-position",
"autocomplete-css",
"linter-eslint"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
".idea",
".sonar",
".tmp"
],
"packagesWithKeymapsDisabled": [
"node-debugger",
"atom-csv-markdown",
"last-cursor-position",
"github"
],
"projectHome": "/home/voznik/workspace",
"telemetryConsent": "limited",
"themes": [
"atom-material-ui",
"atom-material-syntax"
],
"uriHandlerRegistration": "always",
"warnOnLargeFileLimit": 12
},
"dev-tools-themes": {
"display-help": false
},
"docblockr": {
"auto_add_method_tag": true,
"return_description": false
},
"editor": {
"fontFamily": "Ubuntu Mono",
"fontSize": 16,
"invisibles": {
"tab": "⇢"
},
"lineHeight": 1.125,
"normalizeIndentOnPaste": true,
"preferredLineLength": 100,
"showIndentGuide": true,
"showInvisibles": true,
"softWrap": true,
"softWrapAtPreferredLineLength": true,
"zoomFontWhenCtrlScrolling": false
},
"emmet": {
"useEmmetComments": true
},
"exception-reporting": {
"userId": "14906aa8-c9d8-e827-a249-f13c3c6d0734"
},
"expose": {},
"file-icons": {
"onChanges": true
},
"find-and-replace": {
"focusEditorAfterSearch": true,
"projectSearchResultsPaneSplitDirection": "right",
"scrollToResultOnLiveSearch": true
},
"git-diff": {
"showIconsInEditorGutter": true
},
"git-plus": {
"general": {
"_analyticsUserId": "bc04a024-e3ab-4862-b0e5-a97a1781075e"
},
"remoteInteractions": {
"alwaysPullFromUpstream": true,
"pullBeforePush": true,
"pullRebase": true
}
},
"goto": {
"logToConsole": true
},
"grunt-runner": {
"gruntfilePaths": [
"/Gruntfile.js"
],
"panelStartsHidden": true
},
"hashrocket": {},
"highlight-selected": {
"lightTheme": true,
"minimumLength": 3
},
"ionic-preview": {
"customPort": 3000
},
"language-babel": {
"autoIndentJSX": true
},
"linter": {},
"linter-bootlint": {},
"linter-jshint": {
"disableWhenNoJshintrcFileInPath": true
},
"linter-sass-lint": {
"noConfigDisable": true
},
"linter-tidy": {
"tidyExecutablePath": "/usr/bin/tidy"
},
"linter-tslint": {
"ignoreTypings": true
},
"linter-ui-default": {
"panelHeight": 169,
"statusBarPosition": "Right",
"tooltipFollows": "Keyboard"
},
"livestyle-atom": {
"analyzer": {
"enabled": false,
"notify": false,
"notifyCampaign": false
},
"debugMode": true
},
"minimap": {
"displayPluginsControls": false,
"plugins": {
"cursorline": true,
"cursorlineDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0
}
},
"node-debugger": {
"nodePath": "/usr/bin/node"
},
"php-debug": {
"AutoExpandLocals": true,
"PhpException": {
"Deprecated": false,
"FatalError": false,
"Notice": false,
"ParseError": false,
"StrictStandards": false,
"UnknownError": false,
"Warning": false
},
"ServerPort": 9001,
"currentPanelHeight": "239px",
"currentPanelMode": "bottom"
},
"pigments": {
"delayBeforeScan": 2500
},
"prettier-atom": {
"formatOnSaveOptions": {
"isDisabledIfNoConfigFile": true,
"showInStatusBar": true
},
"prettierOptions": {
"singleQuote": true,
"trailingComma": "es5"
}
},
"pristine-ui": {
"fontSize": 14,
"tabSizing": "Minimum"
},
"project-manager": {
"ignoreDirectories": "node_modules, vendor, lib, bower_components, components",
"includeGitRepositories": true,
"sortBy": "last modified"
},
"split-diff": {
"diffWords": true,
"ignoreWhitespace": true,
"leftEditorColor": "red",
"rightEditorColor": "green",
"scrollSyncType": "Vertical + Horizontal"
},
"symbols-tree-view": {
"autoHide": true,
"zAutoHideTypes": "variable"
},
"sync-settings": {
"analytics": false,
"checkForUpdatedBackup": false,
"extraFiles": [
"toolbar.cson",
"user.cson"
],
"gistDescription": "voznik's atom settings"
},
"tab-smart-sort": {
"caseSensitive": true
},
"tabs": {
"enableVcsColoring": true,
"showIcons": false
},
"terminal-fusion": {
"ansiColors": {
"normal": {
"black": "#586e75",
"blue": "#268bd2",
"cyan": "#2aa198",
"green": "#859901",
"magenta": "#d33682",
"red": "#dc322f",
"white": "#657b83",
"yellow": "#b58901"
},
"zBright": {
"brightBlack": "#657b83",
"brightBlue": "#268bd2",
"brightCyan": "#2aa198",
"brightGreen": "#859901",
"brightMagenta": "#d33682",
"brightRed": "#dc322f",
"brightWhite": "#93a1a1",
"brightYellow": "#b58901"
}
},
"core": {
"workingDirectory": "Project"
},
"iconColors": {
"blue": "#268bd2",
"cyan": "#2aa198",
"green": "#859901",
"magenta": "#d33682",
"orange": "#cb4b16",
"pink": "#d33682",
"purple": "#6c71c4",
"red": "#dc322f",
"yellow": "#b58901"
},
"style": {
"animationSpeed": 0,
"theme": "standard"
},
"toggles": {
"autoClose": true,
"runInsertedText": false
}
},
"tool-bar": {
"fullWidth": false,
"position": "Left"
},
"tree-view": {
"alwaysOpenExisting": true,
"autoReveal": true,
"focusOnReveal": false,
"hideIgnoredNames": true,
"squashDirectoryNames": 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
'.source.js':
'debug':
'prefix': 'ld'
'body': '$log.debug($1);$0'
'warn':
'prefix': 'lw'
'body': '$log.warn($1);$0'
'error':
'prefix': 'le'
'body': '$log.error($1);$0'
/*
* 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 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;
}
atom-workspace {
font-family: 'Ubuntu';
}
atom-ternjs-reference * {
font-size: 14px !important;
}
// terminal
.terminal-fusion .xterm {
background-color: darken(#263238, 2%);
color: #708284;
::selection {
background-color: #475B62;
}
.terminal-cursor {
background-color: #819090;
}
}
#demo-device-android {
// background-position: center center;
}
/*
.ionic-preview {
width: 467px;
height: 800px;
background: center center no-repeat url(http://ionicframework.com/img/devices-sprite.jpg);
// background: center center no-repeat url(file:///home/voznik/Nexus 6P.png);
background-size: 467px;
margin: 0 auto;
.frame-wrapper {
align-items: flex-start;
}
#frame.iphone {
// margin-top: -144px;
width: 360px;
height: 600px;
}
}
*/
.gutter.git-diff-icon .line-number {
width: 80%;
border-left: none;
padding-left: 0.4em;
&:before {
font-size: .75em;
}
}
.atomts {
.atomts-panel-body, .atomts-panel-header {
padding: 2px;
}
.btn.btn-sm {
font-size: 0.725rem;
}
}
// https://github.com/atom-material/atom-material-ui/issues/394
/* Reduce tree view size a bit */
/*.tree-view {
li:not(.list-nested-item), li.list-nested-item > .list-item {
line-height: 1.5rem;
}
.list-nested-item .selected::before {
height: 2em;
}
.project-root {
&::before {
height: 2.5em;
}
> .header {
height: 1.75rem;
span, &::before {
line-height: 1.75rem;
}
}
}
}*/
.tree-view {
li:not(.list-nested-item), li.list-nested-item > .list-item {
line-height: 1.85rem; // Edit me for height
}
.list-group .selected::before, .list-tree .selected::before {
height: 1.85rem; // Edit me for height
}
.name.icon::before {
margin: 0 0.5rem 0 0;
}
.list-tree.has-collapsable-children .list-nested-item > .list-tree > li,
.list-tree.has-collapsable-children .list-nested-item > .list-group > li {
padding-left: 1rem;
}
.list-tree.has-collapsable-children li.list-item {
margin-left: 1.1rem;
}
.list-tree.has-collapsable-children .list-nested-item > .list-item::before {
margin-right: 0.3rem;
}
}
# This file is used by Flex Tool Bar to create buttons on your Tool Bar.
# For more information how to use this package and create your own buttons,
# read the documentation on https://atom.io/packages/flex-tool-bar
[
{
type: "button"
icon: "gear"
callback: "flex-tool-bar:edit-config-file"
tooltip: "Edit Tool Bar"
}
{
type: "button"
icon: "device-mobile"
callback: "ionic:preview"
tooltip: "ionic:preview"
}
{
type: "spacer"
}
]
'stripTrailingWhitespace':
'singleTrailingNewline': true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment