Skip to content

Instantly share code, notes, and snippets.

@DanielBoerlage
Last active August 29, 2015 14:14
Show Gist options
  • Save DanielBoerlage/984f1f2745a0c5b2b7ea to your computer and use it in GitHub Desktop.
Save DanielBoerlage/984f1f2745a0c5b2b7ea to your computer and use it in GitHub Desktop.
atom config
"*":
"*":
minimap:
displayPluginsControls: false
minimapScrollIndicator: false
"exception-reporting":
userId: "11c7066a-d91f-df88-a711-42c4d6d9a9d6"
welcome:
showOnStartup: false
core:
disabledPackages: [
"vim-mode"
"minimap-git-diff"
"wrap-guide"
"linter"
"linter-javac"
"metrics"
"background-tips"
"terminal-panel"
"archive-view"
"autoflow"
"autosave"
"exception-reporting"
]
themes: [
"dark-flat-ui"
"atom-dark-syntax"
]
autoHideMenuBar: true
linter:
showHighlighting: false
editor:
fontFamily: "source code pro medium"
fontSize: 12
lineHeight: 1.5
showIndentGuide: true
tabLength: 4
scrollSensitivity: 50
scrollPastEnd: true
tabs:
showIcons: false
"terminal-panel":
WindowHeight: 250
"save-session":
disableNewFileOnOpen: false
project: "c:\\cygwin64\\home\\Daniel\\github\\lux"
windowX: -4
windowY: -4
windowWidth: 1288
windowHeight: 988
treeSize: 201
dataSaveFolder: "c:\\Users\\Daniel\\.atom\\packages\\save-session\\projects"
Zen:
width: 165
fullscreen: true
build:
saveOnBuild: true
minimizedHeight: 0.3
"":
java:
source:
editor: {}
linter:
showHighlighting: false
lintOnChangeInterval: 10000
statusBar: "Show all errors"
"save-session":
project: "c:\\cygwin64\\home\\Daniel\\github\\AP-computer-science"
windowX: 0
windowY: 0
windowWidth: 1280
windowHeight: 1024
treeSize: 179
dataSaveFolder: "c:\\Users\\Daniel\\.atom\\packages\\save-session\\projects"
"exception-reporting":
userId: "376d7bf1-dcc5-6c33-61e1-9b6cf3364ccb"
welcome:
showOnStartup: false
core:
disabledPackages: [
"wrap-guide"
"Zen"
"wordcount"
"metrics"
"package-generator"
"welcome"
"archive-view"
"link"
"background-tips"
]
themes: [
"itg-flat-dark"
"itg-dark-syntax"
]
autoHideMenuBar: true
editor:
fontFamily: "source code pro medium"
fontSize: 12
lineHeight: 1.4
tabLength: 4
scrollPastEnd: true
invisibles: {}
zoomFontWhenCtrlScrolling: false
minimap:
displayPluginsControls: false
textOpacity: 0.7
tabs:
showIcons: false
"terminal-panel": {}
"tree-view": {}
wordcount:
files: {}
build:
saveOnBuild: true
monocleHeight: 0.73
minimizedHeight: 0.28
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
# atom.workspaceView.eachEditorView (editorView) ->
# editor = editorView.getEditor()
# if path.extname(editor.getPath()) is '.md'
# editor.setSoftWrapped(true)
{$} = require 'atom'
atom.workspaceView.command 'custom:hide-statusbar', ->
if $('.status-bar').is(':hidden')
$('.status-bar').show()
else
$('.status-bar').hide()
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets 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'
#
# '.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/customizing-atom#customizing-key-bindings
# * https://atom.io/docs/latest/advanced/keymaps
#
# 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
'body':
'f10': 'custom:hide-statusbar'
'.editor':
'ctrl-m': 'minimap:toggle'
'f1': 'zen:toggle'
'ctrl-b': 'build:trigger'
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# 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
'.source.java':
'index ittr':
'prefix': 'fori'
'body': 'for (int i = 0; i < $1; i++) {\n\t$2\n}'
/*
* 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
*/
@ui-background: rgba(65, 69, 78, 1);
@thumb-hover: #9cb7cf;
@editor-background: #24272e;
@gutter-color: lighten(@editor-background, 5%);
@gutter-text: #d6d6d6;
@text-highlight: #FFFFFF;
.tree-view {
}
atom-text-editor {
}
atom-text-editor .cursor {
}
.editor {
background-color: @editor-background;
}
.editor .gutter, atom-text-editor::shadow .gutter {
background-color: @gutter-color;
color: @gutter-text;
}
.editor .gutter .line-number.cursor-line, atom-text-editor::shadow .line-number.cursor-line {
background-color: lighten(@gutter-color, 5%);
}
.tab-bar {
.tab.active {
&, &:before {
color: @text-highlight;
background-color: @editor-background;
}
}
.tab:hover {
&, &:before {
color: @text-highlight;
background-color: lighten(@ui-background, 10%);
}
}
.tab.active:hover .close-icon {
color: @text-highlight;
}
}
.with-minimap atom-text-editor .vertical-scrollbar,
.with-minimap atom-text-editor::shadow .vertical-scrollbar {
opacity: 0;
width: 0;
}
.editor, atom-text-editor::shadow {
.bracket-matcher {
background-color: #8b4b7e;
border: 0;
}
}
// this is for the scroll bar in the tree view
// maybe others? discuss.atom.io/t/ugly-scrollbars-bug/1027/11
::-webkit-scrollbar {
height: 10px;
}
::-webkit-scrollbar-track {
background-color: @ui-background;
}
::-webkit-scrollbar-thumb {
background-color: @ui-background;
}
::-webkit-scrollbar-thumb:hover {
background-color: @thumb-hover;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment