Last active
July 23, 2020 07:04
-
-
Save glutaminefree/fd8087cc7dad909056235aef54d1c1a6 to your computer and use it in GitHub Desktop.
Atom sync-settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atom.packages.onDidActivatePackage (pack) -> | |
if pack.name == 'ex-mode' | |
Ex = pack.mainModule.provideEx() | |
Ex.registerCommand 'tabl', -> atom.workspace.getActivePane().moveItemLeft() | |
Ex.registerCommand 'tabr', -> atom.workspace.getActivePane().moveItemRight() | |
Ex.registerCommand 'e', -> atom.workspace.getActiveTextEditor().getBuffer().reload() | |
treeView = document.querySelector('.tool-panel.tree-view') | |
atom.commands.add '.tool-panel.tree-view', 'tree-view:go-to-parent', -> | |
atom.commands.dispatch treeView, 'tree-view:collapse-directory' | |
atom.commands.dispatch treeView, 'tree-view:expand-item' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'atom-workspace atom-text-editor:not([mini])': | |
'ctrl-j': 'unset!' | |
'atom-text-editor.vim-mode-plus': | |
'ctrl-j': 'vim-mode-plus:reset-normal-mode' | |
'atom-text-editor.vim-mode-plus:not(.normal-mode)': | |
'ctrl-j': 'vim-mode-plus:activate-normal-mode' | |
'atom-text-editor.vim-mode-plus:not(.insert-mode)': | |
'ctrl-f': 'unset!' | |
'ctrl-k n': 'window:focus-pane-on-left' | |
'atom-text-editor.vim-mode-plus.normal-mode': | |
'ctrl-q': 'application:quit' | |
'ctrl-w': 'core:close' | |
'f2': 'symbols-view:toggle-file-symbols' | |
# surround - normal mode { | |
'y s': 'vim-mode-plus:surround' | |
'd s': 'vim-mode-plus:delete-surround-any-pair' | |
'd S': 'vim-mode-plus:delete-surround' | |
'c s': 'vim-mode-plus:change-surround-any-pair' | |
'c S': 'vim-mode-plus:change-surround' | |
# } | |
'atom-text-editor.vim-mode-plus.visual-mode': | |
'f1': 'tabularize:toggle' | |
'ctrl-p': 'core:paste' | |
'atom-text-editor.vim-mode-plus.visual-mode.characterwise.has-selection': | |
'f3': 'find-and-replace:select-next' | |
'atom-text-editor.vim-mode-plus.insert-mode': | |
'ctrl-p': 'core:paste' | |
'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active': | |
'ctrl-n': 'autocomplete-plus:confirm' | |
# vim-like tree-view | |
'body': | |
'ctrl-q': 'application:quit' | |
'.tree-view': | |
'o': 'tree-view:open-selected-entry' | |
'p': 'tree-view:go-to-parent' | |
'ctrl-w l': 'tree-view:toggle-focus' | |
'm': 'unset!' | |
'm a': 'tree-view:add-file' | |
'm c': 'tree-view:duplicate' | |
'm m': 'tree-view:move' | |
'm d': 'permanent-delete:delete' | |
'g g': 'core:move-to-top' | |
'G': 'core:move-to-bottom' | |
# surround { | |
# | |
# operator-pending only when surround-pending | |
'atom-text-editor.vim-mode-plus.operator-pending-mode.surround-pending': | |
's': 'vim-mode-plus:inner-current-line' | |
# visual | |
'atom-text-editor.vim-mode-plus.visual-mode:not(.insert-mode)': | |
'S': 'vim-mode-plus:surround' | |
# | |
# } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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-easy-jsdoc": { | |
"version": "4.12.5" | |
}, | |
"atom-ide-ui": { | |
"version": "0.13.0" | |
}, | |
"atom-ide-vue": { | |
"version": "1.3.1" | |
}, | |
"atom-light-syntax": { | |
"version": "0.29.1", | |
"theme": "syntax" | |
}, | |
"atom-light-ui": { | |
"version": "0.46.3", | |
"theme": "ui" | |
}, | |
"autoclose-html": { | |
"version": "0.23.0" | |
}, | |
"autocomplete-atom-api": { | |
"version": "0.10.7" | |
}, | |
"autocomplete-css": { | |
"version": "0.17.5" | |
}, | |
"autocomplete-html": { | |
"version": "0.8.8" | |
}, | |
"autocomplete-plus": { | |
"version": "2.42.3" | |
}, | |
"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" | |
}, | |
"bookmarks": { | |
"version": "0.46.0" | |
}, | |
"bracket-matcher": { | |
"version": "0.91.2" | |
}, | |
"command-palette": { | |
"version": "0.43.5" | |
}, | |
"dalek": { | |
"version": "0.2.2" | |
}, | |
"deprecation-cop": { | |
"version": "0.56.9" | |
}, | |
"dev-live-reload": { | |
"version": "0.48.1" | |
}, | |
"emmet": { | |
"version": "2.4.3" | |
}, | |
"encoding-selector": { | |
"version": "0.23.9" | |
}, | |
"ex-mode": { | |
"version": "0.18.0" | |
}, | |
"exception-reporting": { | |
"version": "0.43.1" | |
}, | |
"find-and-replace": { | |
"version": "0.219.3" | |
}, | |
"fuzzy-finder": { | |
"version": "1.14.2" | |
}, | |
"git-diff": { | |
"version": "1.3.9" | |
}, | |
"github": { | |
"version": "0.34.2" | |
}, | |
"go-to-line": { | |
"version": "0.33.0" | |
}, | |
"grammar-selector": { | |
"version": "0.50.1" | |
}, | |
"ide-php": { | |
"version": "0.7.18" | |
}, | |
"ide-typescript": { | |
"version": "0.9.1" | |
}, | |
"image-view": { | |
"version": "0.64.0" | |
}, | |
"incompatible-packages": { | |
"version": "0.27.3" | |
}, | |
"keybinding-resolver": { | |
"version": "0.39.0" | |
}, | |
"kimbie-light": { | |
"version": "2.0.2", | |
"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-gfm": { | |
"version": "0.90.7" | |
}, | |
"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.31.5" | |
}, | |
"language-javascript": { | |
"version": "0.134.1" | |
}, | |
"language-json": { | |
"version": "1.0.5" | |
}, | |
"language-less": { | |
"version": "0.34.3" | |
}, | |
"language-make": { | |
"version": "0.23.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.4" | |
}, | |
"language-property-list": { | |
"version": "0.9.1" | |
}, | |
"language-pug": { | |
"version": "0.0.22" | |
}, | |
"language-python": { | |
"version": "0.53.4" | |
}, | |
"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-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.2" | |
}, | |
"language-vue": { | |
"version": "0.26.0" | |
}, | |
"language-vue-component": { | |
"version": "0.5.0" | |
}, | |
"language-xml": { | |
"version": "0.35.3" | |
}, | |
"language-yaml": { | |
"version": "0.32.0" | |
}, | |
"line-ending-selector": { | |
"version": "0.7.7" | |
}, | |
"link": { | |
"version": "0.31.6" | |
}, | |
"markdown-preview": { | |
"version": "0.160.2" | |
}, | |
"metrics": { | |
"version": "1.8.1" | |
}, | |
"minimap": { | |
"version": "4.29.9" | |
}, | |
"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" | |
}, | |
"permanent-delete": { | |
"version": "0.1.7" | |
}, | |
"pigments": { | |
"version": "0.40.2" | |
}, | |
"remember-folds": { | |
"version": "0.3.0" | |
}, | |
"settings-view": { | |
"version": "0.261.4" | |
}, | |
"snippets": { | |
"version": "1.5.1" | |
}, | |
"solarized-dark-syntax": { | |
"version": "1.3.0", | |
"theme": "syntax" | |
}, | |
"solarized-dark-ui": { | |
"version": "0.3.2", | |
"theme": "ui" | |
}, | |
"solarized-light-syntax": { | |
"version": "1.3.0", | |
"theme": "syntax" | |
}, | |
"solarized-light-ui": { | |
"version": "0.1.0", | |
"theme": "ui" | |
}, | |
"spell-check": { | |
"version": "0.76.1" | |
}, | |
"status-bar": { | |
"version": "1.8.17" | |
}, | |
"styleguide": { | |
"version": "0.49.12" | |
}, | |
"symbols-view": { | |
"version": "0.118.4" | |
}, | |
"sync-settings": { | |
"version": "4.3.6" | |
}, | |
"tab-numbers": { | |
"version": "0.6.1" | |
}, | |
"tabs": { | |
"version": "0.110.0" | |
}, | |
"tabularize": { | |
"version": "0.2.5" | |
}, | |
"timecop": { | |
"version": "0.36.2" | |
}, | |
"tree-view": { | |
"version": "0.228.0" | |
}, | |
"update-package-dependencies": { | |
"version": "0.13.1" | |
}, | |
"vim-mode-plus": { | |
"version": "1.36.4" | |
}, | |
"welcome": { | |
"version": "0.36.9" | |
}, | |
"whitespace": { | |
"version": "0.37.7" | |
}, | |
"wrap-guide": { | |
"version": "0.41.0" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"*": { | |
"advanced-open-file": { | |
"createDirectories": true, | |
"fuzzyMatch": true | |
}, | |
"autocomplete-plus": { | |
"backspaceTriggersAutocomplete": true | |
}, | |
"autosave": { | |
"enabled": true | |
}, | |
"core": { | |
"autoHideMenuBar": true, | |
"disabledPackages": [ | |
"autosave", | |
"open-on-github", | |
"language-vue-component", | |
"ide-php", | |
"atom-ide-ui", | |
"atom-ide-vue", | |
"ide-typescript" | |
], | |
"ignoredNames": [ | |
".git", | |
".hg", | |
".svn", | |
".DS_Store", | |
"._*", | |
"Thumbs.db", | |
"desktop.ini", | |
"node_modules" | |
], | |
"packagesWithKeymapsDisabled": [ | |
"git-diff", | |
"permanent-delete" | |
], | |
"projectHome": "/home/glutaminefree/documents/job", | |
"telemetryConsent": "limited", | |
"themes": [ | |
"one-light-ui", | |
"solarized-light-syntax" | |
], | |
"uriHandlerRegistration": "always" | |
}, | |
"editor": { | |
"fontFamily": "Ubuntu Mono", | |
"fontSize": 16, | |
"lineHeight": 1.1, | |
"preferredLineLength": 100, | |
"scrollPastEnd": true, | |
"scrollSensitivity": 120, | |
"showIndentGuide": true, | |
"tabType": "soft" | |
}, | |
"exception-reporting": { | |
"userId": "cf0d0497-010b-4820-82f8-ff9ac798ad22" | |
}, | |
"git-diff": { | |
"showIconsInEditorGutter": true | |
}, | |
"ide-php": { | |
"phpPath": "/usr/bin/php" | |
}, | |
"incremental-search": { | |
"instantSearch": true, | |
"landAtPointInsteadOfRange": true | |
}, | |
"line-ending-selector": { | |
"defaultLineEnding": "LF" | |
}, | |
"lorem": { | |
"defaults": { | |
"showHelp": true, | |
"unitType": "Sentence" | |
} | |
}, | |
"minimap": { | |
"displayPluginsControls": false | |
}, | |
"permanent-delete": { | |
"confirmDelete": false | |
}, | |
"pigments": { | |
"filetypesForColorWords": [ | |
"css", | |
"less", | |
"styl", | |
"stylus", | |
"sass", | |
"scss", | |
"js", | |
"html", | |
"vue" | |
] | |
}, | |
"spell-check": { | |
"locales": [ | |
"en_US" | |
] | |
}, | |
"sync-settings": { | |
"gistDescription": "Atom sync-settings", | |
"hiddenSettings": {} | |
}, | |
"tabs": { | |
"enableMruTabSwitching": false | |
}, | |
"tree-view": { | |
"hideIgnoredNames": true | |
}, | |
"vim-mode-plus": { | |
"automaticallyEscapeInsertModeOnActivePaneItemChange": true, | |
"blackholeRegisteredOperators": [ | |
"change*", | |
"substitute*" | |
], | |
"clearMultipleCursorsOnEscapeInsertMode": true, | |
"flashOnOperate": false, | |
"flashOnUndoRedo": false, | |
"flashScreenOnSearchHasNoMatch": false, | |
"ignoreCaseForSearch": true, | |
"keymapYToYankToLastCharacterOfLine": true, | |
"smoothScrollOnFullScrollMotion": true, | |
"smoothScrollOnHalfScrollMotion": true, | |
"statusBarModeStringStyle": "long", | |
"useSmartcaseForSearch": true | |
}, | |
"vim-mode-plus-ex-mode": { | |
"notifiedUseExMode": true | |
}, | |
"welcome": { | |
"showOnStartup": false | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'.source.css, .source.less': | |
'media-query': | |
'prefix': 'mq', | |
'body': """ | |
@media (max-width: $1) { | |
} | |
""" | |
'.source.js, .text.html.vue': | |
'vueDebug': | |
'prefix': 'vuelog', | |
'body': """ | |
console.log(JSON.parse(JSON.stringify($1))); | |
""" | |
'return true': | |
'prefix': 'rt', | |
'body': """ | |
return true; | |
""" | |
'return false': | |
'prefix': 'rf', | |
'body': """ | |
return false; | |
""" | |
'export default': | |
'prefix': 'ed', | |
'body': """ | |
export default {$1}; | |
""" | |
'setTimeout': | |
'prefix': 'timeout', | |
'body': """ | |
setTimeout(() => { | |
$1 | |
}, 1000); | |
""" | |
'translate': | |
'prefix': 'trans', | |
'body': """ | |
{{ \$t('$1') }} | |
""" | |
'eslint-disable-next-line': | |
'prefix': 'esdsbl', | |
'body': """ | |
/* eslint-disable-next-line */ | |
""" | |
'eslint-disable': | |
'prefix': 'esdsb', | |
'body': """ | |
/* eslint-disable */ | |
""" | |
'eslint-enable': | |
'prefix': 'esena', | |
'body': """ | |
/* eslint-enable */ | |
""" | |
'pokupo-error': | |
'prefix': 'pkperr', | |
'body': """ | |
this.$store.commit('ui/showNotification', { | |
type: 'error', | |
text: e.message || this.$t('errors.getData'), | |
}); | |
""" | |
'vvv-error': | |
'prefix': 'vvverr', | |
'body': """ | |
Swal.fire({ | |
title: '$1', | |
text: e.message || '', | |
icon: 'error', | |
}); | |
""" | |
'.text.html.vue': | |
'vue-output': | |
'prefix': 'vueprint', | |
'body': """ | |
{{ $1 }} | |
""" | |
'vuebase': | |
'prefix': 'vuebase', | |
'body': """ | |
<template> | |
$1 | |
</template> | |
<script> | |
export default { | |
name: '$2', | |
}; | |
</script> | |
<style lang="scss" scoped> | |
</style> | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.syntax--todo, | |
.syntax--fixme, | |
.syntax--warning { | |
font-weight: 700; | |
color: #dc322f !important; | |
} | |
.tab { | |
.title { | |
font-size: 12px; | |
} | |
&.modified { | |
.title { | |
&:after { | |
position: relative; | |
top: 2px; | |
content: '*'; | |
margin-left: 5px; | |
font-size: 14px; | |
} | |
} | |
} | |
} | |
.ex-mode-editor .scroll-view { | |
left: 5px !important; | |
} | |
.tree-view .list-item { | |
font-size: 12px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment