Skip to content

Instantly share code, notes, and snippets.

@jmuspratt
Last active October 14, 2015 15:49
Show Gist options
  • Save jmuspratt/9c0b443e55710ca06c1f to your computer and use it in GitHub Desktop.
Save jmuspratt/9c0b443e55710ca06c1f to your computer and use it in GitHub Desktop.
Atom.io Settings
# Mimic Some Textmate Keyboard Shortcuts
'atom-workspace atom-text-editor:not([mini])':
'alt-cmd-[': 'editor:auto-indent'
'alt-cmd-w': 'editor:toggle-soft-wrap'
'alt-cmd-i': 'window:toggle-invisibles'
# Preserve Emmet keybindings but fix tab collision
# https://github.com/emmetio/emmet-atom/issues/225
'atom-text-editor.autocomplete-active:not([mini])':
'tab': 'autocomplete-plus:confirm'
// style the background and foreground colors on the atom-text-editor-element
// itself
atom-text-editor {
// text-rendering: optimizeLegibility;
}
// To style other content in the text editor's shadow DOM, use the ::shadow
// expression
atom-text-editor::shadow .cursor {
}
// Lighten the indent guide a lot
atom-text-editor::shadow .indent-guide {
color: #efefef;
}
// emphasize the guide on the current line (cursor-line)
atom-text-editor::shadow .cursor-line .indent-guide {
box-shadow: inset 1px 0 0 #ddd;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment