Here you can see my atom's config files.
Last active
February 13, 2017 13:48
-
-
Save byBretema/65be2ad798e133c8c17a6122256565a9 to your computer and use it in GitHub Desktop.
Made with ♥ for Atom.
This file contains 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
# Made with ♥ for Atom. | |
"*": | |
autosave: | |
enabled: true | |
core: | |
autoHideMenuBar: true | |
disabledPackages: [ | |
"about" | |
"autocomplete-atom-api" | |
"autocomplete-css" | |
"autocomplete-html" | |
"autocomplete-plus" | |
"autocomplete-snippets" | |
"background-tips" | |
"deprecation-cop" | |
"exception-reporting" | |
"language-clojure" | |
"language-gfm" | |
"language-hyperlink" | |
"language-mustache" | |
"language-objective-c" | |
"language-property-list" | |
"language-ruby-on-rails" | |
"language-toml" | |
"metrics" | |
"package-generator" | |
"snippets" | |
"spell-check" | |
"timecop" | |
"styleguide" | |
"welcome" | |
] | |
openEmptyEditorOnStart: false | |
telemetryConsent: "no" | |
themes: [ | |
"one-dark-ui" | |
"gruvbox-plus-syntax" | |
] | |
editor: | |
fontSize: 18 | |
scrollPastEnd: true | |
showIndentGuide: true | |
zoomFontWhenCtrlScrolling: false | |
"exception-reporting": | |
userId: "97edde42-b493-84ec-62a8-8d61a5e1b066" | |
"git-diff": | |
showIconsInEditorGutter: true | |
"gruvbox-plus-syntax": | |
contrast: "Hard" | |
minimap: | |
absoluteMode: true | |
adjustAbsoluteModeHeight: true | |
charHeight: 3 | |
charWidth: 2 | |
ignoreWhitespacesInTokens: true | |
independentMinimapScroll: true | |
interline: 2 | |
moveCursorOnMinimapClick: true | |
plugins: | |
"git-diff": true | |
"git-diffDecorationsZIndex": 0 | |
scrollAnimation: true | |
scrollAnimationDuration: 150 | |
scrollSensitivity: 0.7 | |
textOpacity: 0.3 | |
"minimap-git-diff": | |
useGutterDecoration: true | |
"one-dark-ui": | |
fontSize: 16 | |
layoutMode: "Spacious" | |
"tree-view": | |
alwaysOpenExisting: true | |
hideIgnoredNames: true | |
hideVcsIgnoredFiles: true | |
squashDirectoryNames: true | |
welcome: | |
showOnStartup: false |
This file contains 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
# Made with ♥ 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); |
This file contains 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
# Made with ♥ for Atom. | |
'.platform-darwin, .platform-win32, .platform-linux': | |
'ctrl-shift-g': 'go-to-line:toggle' | |
'.platform-win32 atom-text-editor, .platform-linux atom-text-editor': | |
'ctrl-g': 'find-and-replace:select-next' | |
'atom-text-editor:not([mini])': | |
'ctrl-d': 'editor:delete-line' | |
'.platform-win32, .platform-linux': | |
'alt-t': 'tree-view:toggle' | |
# --------------------------- | |
'atom-text-editor': | |
'ctrl-i': 'custom:reformat' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment