Created
October 7, 2015 20:50
-
-
Save david-driscoll/2571bb5f6d50be6797f6 to your computer and use it in GitHub Desktop.
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
# 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. | |
# | |
# 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 here: | |
# https://github.com/bevry/cson#what-is-cson | |
'.platform-win32 atom-text-editor, .platform-linux atom-text-editor': | |
'ctrl-k ctrl-d': 'unset!' | |
'atom-text-editor:not([mini])': | |
'ctrl-1': 'markdown-writer:toggle-h1' | |
'ctrl-2': 'markdown-writer:toggle-h2' | |
'ctrl-3': 'markdown-writer:toggle-h3' | |
'ctrl-4': 'markdown-writer:toggle-h4' | |
'ctrl-5': 'markdown-writer:toggle-h5' | |
'ctrl-r ctrl-r': 'typescript:rename-variable' | |
'ctrl-k ctrl-d': 'atom-beautify:beautify-editor' | |
'ctrl-space': 'autocomplete-plus:activate' | |
'ctrl-,': 'fuzzy-finder:toggle-file-finder' | |
'atom-text-editor:not([mini])[data-grammar~="cs"]': | |
'ctrl-k ctrl-d': 'omnisharp-atom:code-format' | |
'atom-text-editor:not([mini])[data-grammar~="gfm"]': | |
'ctrl-.': 'spell-check:correct-misspelling' | |
'atom-text-editor:not([mini])[data-grammar~="html"]': | |
'ctrl-.': 'spell-check:correct-misspelling' | |
'atom-text-editor:not([mini])[data-grammar~="ts"]': | |
'ctrl-k ctrl-d': 'typescript:format-code' | |
'atom-text-editor:not([mini])[data-grammar~="js"], atom-text-editor:not([mini])[data-grammar~="json"]': | |
'ctrl-k ctrl-d': 'atom-beautify:beautify-editor' | |
'atom-workspace': | |
'alt-`': 'atom-terminal:open-project-root' | |
'ctrl-shift-T': 'unset!' | |
'alt-cmd-t': 'unset!' | |
'alt-cmd-l': 'unset!' | |
'alt-shift-cmd-U': 'unset!' | |
'alt-shift-cmd-H': 'unset!' | |
'cmd-\'': 'unset!' | |
'cmd-;': 'unset!' | |
'cmd-d': 'unset!' | |
'cmd-n': 'unset!' | |
'cmd-r cmd-a': 'unset!' | |
'cmd-r cmd-f': 'unset!' | |
'cmd-r cmd-l': 'unset!' | |
'cmd-r cmd-t': 'unset!' | |
'cmd-space': 'unset!' | |
'shift-cmd-H': 'unset!' | |
'shift-cmd-M': 'unset!' | |
'shift-cmd-U': 'unset' | |
'ctrl-i': 'cursor-history:next' | |
'ctrl-o': 'cursor-history:prev' | |
'atom-text-editor:not([mini])': | |
'alt-`': 'atom-terminal:open-project-root' | |
'.platform-win32': | |
'ctrl-.': 'unset!' | |
'atom-workspace atom-text-editor:not([mini])': | |
'ctrl-up': 'unset!' | |
'ctrl-down': 'unset!' | |
'alt-up': 'editor:move-line-up' | |
'alt-down': 'editor:move-line-down' | |
'atom-workspace atom-text-editor:not([mini])[data-grammar~=ts]': | |
'ctrl-.': 'typescript:quick-fix' | |
'atom-workspace': | |
'ctrl-shift-g': 'git-plus:menu' |
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
/* | |
* Your Stylesheet | |
* | |
* This stylesheet is loaded when Atom starts up and is reloaded automatically | |
* when it is changed. | |
* | |
* If you are unfamiliar with LESS, you can read more about it here: | |
* http://www.lesscss.org | |
*/ | |
.tree-view { | |
} | |
// style the background and foreground colors on the atom-text-editor-element | |
// itself | |
atom-text-editor { | |
.cs.meta.class { | |
color: inheirt !important; | |
text-shadow: none !important; | |
} | |
} | |
// To style other content in the text editor's shadow DOM, use the ::shadow | |
// expression | |
atom-text-editor::shadow { | |
.cs.meta.class { | |
color: inherit !important; | |
text-shadow: none !important; | |
} | |
.support.interface { | |
color: rgba(53, 184, 227, 0.90); | |
text-shadow: 0px 0px 15px rgba(69, 184, 227, 0.8); | |
} | |
.support.struct, .support.enum { | |
color: rgba(239, 176, 237, 0.87); | |
text-shadow: 0 0 15px rgba(239, 176, 237, 0.8); | |
} | |
} | |
// General colors | |
@syntax-text-color: #c5c8c6; | |
@syntax-cursor-color: white; | |
@syntax-selection-color: #444; | |
@syntax-selection-flash-color: #eee; | |
@syntax-background-color: #1d1f21; | |
// Guide colors | |
@syntax-wrap-guide-color: rgba(197, 200, 198, .1); | |
@syntax-indent-guide-color: rgba(197, 200, 198, .2); | |
@syntax-invisible-character-color: rgba(197, 200, 198, .2); | |
atom-text-editor, | |
:host { | |
background-color: @syntax-background-color; | |
color: @syntax-text-color; | |
.invisible-character { | |
color: @syntax-invisible-character-color; | |
} | |
.indent-guide { | |
color: @syntax-indent-guide-color; | |
} | |
.wrap-guide { | |
color: @syntax-wrap-guide-color; | |
} | |
} | |
atom-text-editor.is-focused, | |
:host { | |
.cursor { | |
border-color: @syntax-cursor-color; | |
} | |
.selection .region { | |
background-color: @syntax-selection-color; | |
} | |
} | |
.name.icon.icon-file-directory { | |
font-weight: normal; | |
} | |
atom-workspace { | |
background: url(atom://my-background/metal-sheet.jpg) !important; | |
//background: url(atom://my-background/waves-subtle.jpg); | |
background-color: transparent; | |
background-position: center; | |
//background-color: rgba(0, 0, 0, 0.7); | |
} | |
.tab-bar, .tree-view, .atom-panel:not(.bottom) { | |
background-color: transparent !important; | |
} | |
atom-text-editor, :host { | |
background-color: transparent !important; | |
} | |
.tab-bar .tab.active:after { | |
opacity: 0.6; | |
} | |
.tree-view .selected:before { | |
opacity: 0.6; | |
} | |
#editor-background-main > [style*="://"] { | |
background-position: center; | |
} | |
/*! | |
* Hack v2.010 by Chris Simpkins - https://sourcefoundry.org/hack/ | |
* Licenses - Fonts: Modified SIL OFL 1.1 + Bitstream Vera license, CSS: MIT License | |
*/ | |
/* FONT PATHS | |
* -------------------------- */ | |
/*@font-face { | |
font-family: 'Hack'; | |
src: url('atom://font-hack/fonts/eot/hack-regular-webfont.eot'); | |
src: url('atom://font-hack/fonts/eot/hack-regular-webfont.eot?#iefix&v=2.010') format('embedded-opentype'), url('atom://font-hack/fonts/woff2/hack-regular-webfont.woff2') format('woff2'), url('atom://font-hack/fonts/woff/hack-regular-webfont.woff') format('woff'), url('atom://font-hack/fonts/ttf/hack-regular-webfont.ttf') format('truetype'), url('atom://font-hack/fonts/svg/hack-regular-webfont.svg#hackregular') format('svg'); | |
font-weight: 400; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'Hack'; | |
src: url('atom://font-hack/fonts/eot/hack-bold-webfont.eot'); | |
src: url('atom://font-hack/fonts/woff2/hack-bold-webfont.woff2') format('woff2'), url('atom://font-hack/fonts/woff/hack-bold-webfont.woff') format('woff'), url('atom://font-hack/fonts/ttf/hack-bold-webfont.ttf') format('truetype'), url('atom://font-hack/fonts/svg/hack-bold-webfont.svg#hackbold') format('svg'); | |
font-weight: 700; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'Hack'; | |
src: url('atom://font-hack/fonts/eot/hack-regularoblique-webfont.eot'); | |
src: url('atom://font-hack/fonts/woff2/hack-regularoblique-webfont.woff2') format('woff2'), url('atom://font-hack/fonts/woff/hack-regularoblique-webfont.woff') format('woff'), url('atom://font-hack/fonts/ttf/hack-regularoblique-webfont.ttf') format('truetype'), url('atom://font-hack/fonts/svg/hack-regularoblique-webfont.svg#hackregularoblique') format('svg'); | |
font-weight: 400; | |
font-style: italic; | |
} | |
@font-face { | |
font-family: 'Hack'; | |
src: url('atom://font-hack/fonts/eot/hack-boldoblique-webfont.eot'); | |
src: url('atom://font-hack/fonts/woff2/hack-boldoblique-webfont.woff2') format('woff2'), url('atom://font-hack/fonts/woff/hack-boldoblique-webfont.woff') format('woff'), url('atom://font-hack/fonts/ttf/hack-boldoblique-webfont.ttf') format('truetype'), url('atom://font-hack/fonts/svg/hack-boldoblique-webfont.svg#hackboldoblique') format('svg'); | |
font-weight: 700; | |
font-style: italic; | |
}*/ | |
/*atom-text-editor { | |
font-family: Hack, Menlo, Consolas, 'DejaVu Sans Mono', monospace; | |
}*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment