Skip to content

Instantly share code, notes, and snippets.

@wpalmer
Created June 15, 2016 10:45
Show Gist options
  • Save wpalmer/6c946119bd9f18a7188042b6d642133f to your computer and use it in GitHub Desktop.
Save wpalmer/6c946119bd9f18a7188042b6d642133f to your computer and use it in GitHub Desktop.
# 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
'atom-text-editor.vim-mode:not(.insert-mode)':
'insert': 'vim-mode:activate-insert-mode'
'atom-text-editor.vim-mode.command-mode':
'insert': 'vim-mode:activate-insert-mode'
'atom-text-editor.vim-mode':
'ctrl-c': 'core:copy'
'atom-text-editor':
'ctrl-v': 'core:paste'
'atom-text-editor.vim-mode.visual-mode':
'ctrl-v': 'core:paste'
'atom-text-editor.vim-mode.visual-block-mode':
'ctrl-v': 'core:paste'
'atom-text-editor.vim-mode.command-mode':
'ctrl-v': 'core:paste'
'atom-text-editor.vim-mode:not(.insert-mode)':
'ctrl-f': 'native!'
'atom-text-editor:not(mini).autocomplete-active':
'tab': 'autocomplete-plus:confirm'
'enter': 'editor:newline'
/*
* 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 color of the tree view
.tree-view {
// background-color: whitesmoke;
}
// style the background and foreground colors on the atom-text-editor-element itself
atom-text-editor {
// color: white;
// background-color: hsl(180, 24%, 12%);
}
atom-text-editor::shadow .gutter {
background-color: rgba(0,0,0,0.01);
}
.indent-guide-improved {
background-color: rgba(0,0,0,0);
&.indent-guide-stack {
background-color: rgba(0,0,0,0.025);
&.indent-guide-active {
background-color: rgba(0,0,0,0.15);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment