Skip to content

Instantly share code, notes, and snippets.

@inancgumus
Last active February 23, 2017 18:52
Show Gist options
  • Save inancgumus/bc3b582fc22c1101a34a to your computer and use it in GitHub Desktop.
Save inancgumus/bc3b582fc22c1101a34a to your computer and use it in GitHub Desktop.
# 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 log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# console.log "Saved! #{editor.getPath()}"
process.env.PATH = ['/usr/local/bin/', process.env.PATH].join(':')
atom.commands.add 'atom-text-editor', 'wallaby:replace-new-lines', ->
p = document.querySelector('section.error section.header');
if p
p.innerText = p.innerText.replace(/\\n/g, '\n')
atom.commands.add 'atom-text-editor', 'wallaby:move-right', ->
p = document.querySelector('div.wallaby-panel-view');
if p
container = document.querySelector('atom-panel-container.right');
resizer = document.createElement 'div'
resizer.className = 'resizer';
resizer.style.width = '5px';
resizer.style.cursor = 'ew-resize';
container.insertBefore resizer, container.childNodes[0]
c = p.parentNode.removeChild p
right = document.querySelector('atom-panel.right');
right.style.display = 'inherit';
right.style.width = '250px';
content = document.querySelector('atom-panel.right');
content.appendChild(p)
# resizer
xPosition = 0;
initialWidth = 0;
resizeTreeView = (e) ->
diff = (e.clientX - xPosition) * -1;
diff = initialWidth + diff;
if diff < 50
diff = 50
if diff > 800
diff = 800
right.style.width = diff + 'px';
#nada
resizeStarted = (e) ->
xPosition = e.clientX;
initialWidth = parseInt(right.style.width.substring(0, right.style.width.length - 2));
document.addEventListener('mousemove', resizeTreeView)
document.addEventListener('mouseup', resizeStopped)
resizeStopped = (e) ->
document.removeEventListener('mousemove', resizeTreeView)
document.removeEventListener('mouseup', resizeStopped)
resizer.onmousedown = resizeStarted;
# 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. Unlike style sheets however,
# each selector can only be declared once.
#
# 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 in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
'atom-workspace':
'cmd-ctrl-l': 'lcov-info:toggle'
'atom-workspace:not([mini])':
'ctrl-t n': 'theme-switch:next'
'ctrl-t p': 'theme-switch:prev'
'ctrl-t d n': 'theme-switch:next-dark'
'ctrl-t d p': 'theme-switch:prev-dark'
'ctrl-t l n': 'theme-switch:next-light'
'ctrl-t l p': 'theme-switch:prev-light'
# FOR AUTOMATIC SYNCING AWESOMENESS.
[
{
"name": "Zen",
"version": "0.16.4"
},
{
"name": "about",
"version": "1.7.0"
},
{
"name": "anodyne-dark-syntax",
"version": "0.2.1",
"theme": "syntax"
},
{
"name": "archive-view",
"version": "0.62.0"
},
{
"name": "ariake-dark-syntax",
"version": "0.1.1",
"theme": "syntax"
},
{
"name": "ask-stack",
"version": "2.2.0"
},
{
"name": "atom-dark-syntax",
"version": "0.27.0",
"theme": "syntax"
},
{
"name": "atom-dark-ui",
"version": "0.52.0",
"theme": "ui"
},
{
"name": "atom-light-syntax",
"version": "0.28.0",
"theme": "syntax"
},
{
"name": "atom-light-ui",
"version": "0.45.0",
"theme": "ui"
},
{
"name": "atom-react-autocomplete",
"version": "0.1.10"
},
{
"name": "atom-runner",
"version": "2.7.1"
},
{
"name": "atom-ternjs",
"version": "0.16.1"
},
{
"name": "atom-wallaby",
"version": "1.0.16"
},
{
"name": "auto-detect-indentation",
"version": "1.3.0"
},
{
"name": "auto-update-packages",
"version": "1.0.1"
},
{
"name": "autocomplete-atom-api",
"version": "0.10.0"
},
{
"name": "autocomplete-css",
"version": "0.13.1"
},
{
"name": "autocomplete-go",
"version": "1.3.0"
},
{
"name": "autocomplete-html",
"version": "0.7.2"
},
{
"name": "autocomplete-json",
"version": "5.2.0"
},
{
"name": "autocomplete-modules",
"version": "1.6.7"
},
{
"name": "autocomplete-plus",
"version": "2.31.4"
},
{
"name": "autocomplete-python",
"version": "1.8.57"
},
{
"name": "autocomplete-snippets",
"version": "1.11.0"
},
{
"name": "autoflow",
"version": "0.27.0"
},
{
"name": "autoprefixer",
"version": "3.6.0"
},
{
"name": "autosave",
"version": "0.23.1"
},
{
"name": "background-tips",
"version": "0.26.1"
},
{
"name": "base16-tomorrow-dark-theme",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "base16-tomorrow-light-theme",
"version": "1.3.0",
"theme": "syntax"
},
{
"name": "blame",
"version": "0.10.2"
},
{
"name": "blessed-light-syntax",
"version": "0.3.0",
"theme": "syntax"
},
{
"name": "bookmarks",
"version": "0.42.0"
},
{
"name": "bracket-matcher",
"version": "0.82.2"
},
{
"name": "builder-go",
"version": "1.0.1"
},
{
"name": "command-palette",
"version": "0.39.0"
},
{
"name": "coverage-gutter",
"version": "0.19.0"
},
{
"name": "css-color-underline",
"version": "1.0.1"
},
{
"name": "css-snippets",
"version": "1.1.0"
},
{
"name": "danikai-light-syntax",
"version": "0.6.1",
"theme": "syntax"
},
{
"name": "dark-bint-syntax",
"version": "0.8.9",
"theme": "syntax"
},
{
"name": "dead-simple-light-syntax",
"version": "0.1.0",
"theme": "syntax"
},
{
"name": "deprecation-cop",
"version": "0.54.1"
},
{
"name": "dev-live-reload",
"version": "0.47.0"
},
{
"name": "duotone-blue-dark-syntax",
"version": "1.4.0",
"theme": "syntax"
},
{
"name": "duotone-dark-syntax",
"version": "2.0.1",
"theme": "syntax"
},
{
"name": "emmet",
"version": "2.4.3"
},
{
"name": "encoding-selector",
"version": "0.22.0"
},
{
"name": "enlightened",
"version": "0.2.6",
"theme": "syntax"
},
{
"name": "environment",
"version": "1.3.1"
},
{
"name": "exception-reporting",
"version": "0.40.0"
},
{
"name": "file-icons",
"version": "2.0.15"
},
{
"name": "find-and-replace",
"version": "0.202.2"
},
{
"name": "fuzzy-finder",
"version": "1.4.0"
},
{
"name": "genesis-syntax",
"version": "1.0.8",
"theme": "syntax"
},
{
"name": "genesis-ui",
"version": "0.5.0",
"theme": "ui"
},
{
"name": "git-diff",
"version": "1.1.0"
},
{
"name": "git-difftool",
"version": "0.2.7"
},
{
"name": "git-log",
"version": "0.4.1"
},
{
"name": "git-plus",
"version": "7.0.7"
},
{
"name": "git-time-machine",
"version": "1.5.6"
},
{
"name": "gl-light-syntax",
"version": "2.2.0",
"theme": "syntax"
},
{
"name": "glacier-dark-ui",
"version": "0.5.0",
"theme": "ui"
},
{
"name": "gloom",
"version": "0.4.2",
"theme": "syntax"
},
{
"name": "go-config",
"version": "1.2.4"
},
{
"name": "go-get",
"version": "2.1.1"
},
{
"name": "go-plus",
"version": "5.1.1"
},
{
"name": "go-to-line",
"version": "0.31.0"
},
{
"name": "gofmt",
"version": "1.2.0"
},
{
"name": "gometalinter-linter",
"version": "1.2.2"
},
{
"name": "gorename",
"version": "1.1.0"
},
{
"name": "goto",
"version": "1.8.3"
},
{
"name": "grammar-selector",
"version": "0.48.2"
},
{
"name": "grunt-runner",
"version": "0.14.0"
},
{
"name": "gtk-dark-theme",
"version": "0.1.4"
},
{
"name": "ice-cold-syntax",
"version": "0.1.0",
"theme": "syntax"
},
{
"name": "image-view",
"version": "0.60.0"
},
{
"name": "imdone-atom",
"version": "2.1.18"
},
{
"name": "incompatible-packages",
"version": "0.26.1"
},
{
"name": "isotope-light-ui",
"version": "2.2.6",
"theme": "ui"
},
{
"name": "jQuery",
"version": "1.2.5"
},
{
"name": "js-extractor",
"version": "0.0.2"
},
{
"name": "js-refactor",
"version": "0.7.5"
},
{
"name": "jslint",
"version": "1.5.1"
},
{
"name": "json-colorer",
"version": "1.0.0"
},
{
"name": "keybinding-resolver",
"version": "0.35.0"
},
{
"name": "language-c",
"version": "0.54.0"
},
{
"name": "language-clojure",
"version": "0.22.1"
},
{
"name": "language-coffee-script",
"version": "0.48.0"
},
{
"name": "language-csharp",
"version": "0.13.0"
},
{
"name": "language-css",
"version": "0.40.1"
},
{
"name": "language-gfm",
"version": "0.88.0"
},
{
"name": "language-git",
"version": "0.15.0"
},
{
"name": "language-go",
"version": "0.43.0"
},
{
"name": "language-html",
"version": "0.47.1"
},
{
"name": "language-hyperlink",
"version": "0.16.1"
},
{
"name": "language-java",
"version": "0.24.0"
},
{
"name": "language-javascript",
"version": "0.122.0"
},
{
"name": "language-json",
"version": "0.18.3"
},
{
"name": "language-less",
"version": "0.29.6"
},
{
"name": "language-log",
"version": "1.7.0"
},
{
"name": "language-lua",
"version": "0.9.11"
},
{
"name": "language-make",
"version": "0.22.2"
},
{
"name": "language-mustache",
"version": "0.13.0"
},
{
"name": "language-objective-c",
"version": "0.15.1"
},
{
"name": "language-perl",
"version": "0.37.0"
},
{
"name": "language-php",
"version": "0.37.3"
},
{
"name": "language-property-list",
"version": "0.8.0"
},
{
"name": "language-python",
"version": "0.45.1"
},
{
"name": "language-riot-tag",
"version": "0.2.2"
},
{
"name": "language-ruby",
"version": "0.70.2"
},
{
"name": "language-ruby-on-rails",
"version": "0.25.1"
},
{
"name": "language-sass",
"version": "0.57.0"
},
{
"name": "language-shellscript",
"version": "0.23.0"
},
{
"name": "language-source",
"version": "0.9.0"
},
{
"name": "language-sql",
"version": "0.25.0"
},
{
"name": "language-text",
"version": "0.7.1"
},
{
"name": "language-todo",
"version": "0.29.1"
},
{
"name": "language-toml",
"version": "0.18.1"
},
{
"name": "language-xml",
"version": "0.34.12"
},
{
"name": "language-yaml",
"version": "0.27.1"
},
{
"name": "line-ending-selector",
"version": "0.5.0"
},
{
"name": "link",
"version": "0.31.2"
},
{
"name": "linter",
"version": "1.11.18"
},
{
"name": "linter-coffeelint",
"version": "1.2.1"
},
{
"name": "linter-flow",
"version": "5.5.0"
},
{
"name": "linter-jshint",
"version": "3.0.2"
},
{
"name": "linter-shellcheck",
"version": "1.4.3"
},
{
"name": "markdown-preview",
"version": "0.158.8"
},
{
"name": "mc-dark-syntax",
"version": "1.7.1",
"theme": "syntax"
},
{
"name": "merge-conflicts",
"version": "1.4.4"
},
{
"name": "metrics",
"version": "1.1.2"
},
{
"name": "minimap",
"version": "4.25.7"
},
{
"name": "minimap-bookmarks",
"version": "0.4.2"
},
{
"name": "minimap-cursorline",
"version": "0.2.0"
},
{
"name": "minimap-git-diff",
"version": "4.3.1"
},
{
"name": "minimap-highlight-selected",
"version": "4.5.0"
},
{
"name": "minimap-linter",
"version": "1.6.0"
},
{
"name": "minimap-split-diff",
"version": "0.3.2"
},
{
"name": "naturezen-light-syntax",
"version": "0.1.0",
"theme": "syntax"
},
{
"name": "navigator-go",
"version": "1.1.3"
},
{
"name": "navigator-godef",
"version": "1.0.4"
},
{
"name": "neon-cursor",
"version": "1.6.0"
},
{
"name": "neon-selection",
"version": "0.3.2"
},
{
"name": "node-debugger",
"version": "1.10.0"
},
{
"name": "node-requirer",
"version": "0.1.12"
},
{
"name": "northem-light-atom-ui",
"version": "2.0.0",
"theme": "ui"
},
{
"name": "notifications",
"version": "0.65.1"
},
{
"name": "npm-install",
"version": "4.0.3"
},
{
"name": "nuclide",
"version": "0.197.0"
},
{
"name": "one-dark-syntax",
"version": "1.7.1",
"theme": "syntax"
},
{
"name": "one-dark-ui",
"version": "1.6.2",
"theme": "ui"
},
{
"name": "one-light-syntax",
"version": "1.5.0",
"theme": "syntax"
},
{
"name": "one-light-ui",
"version": "1.6.2",
"theme": "ui"
},
{
"name": "open-on-github",
"version": "1.2.1"
},
{
"name": "open-recent",
"version": "5.0.0"
},
{
"name": "overwatch-dark-syntax",
"version": "2.1.0",
"theme": "syntax"
},
{
"name": "package-generator",
"version": "1.0.1"
},
{
"name": "pigments",
"version": "0.37.0"
},
{
"name": "preview-plus",
"version": "1.2.7"
},
{
"name": "pristine-ui",
"version": "1.0.14",
"theme": "ui"
},
{
"name": "processing",
"version": "0.13.0"
},
{
"name": "processing-language",
"version": "0.2.0"
},
{
"name": "purplest-inc-dark-ui",
"version": "1.0.0",
"theme": "ui"
},
{
"name": "python-indent",
"version": "1.0.0"
},
{
"name": "python-nosetests",
"version": "0.2.0"
},
{
"name": "python-tools",
"version": "0.6.9"
},
{
"name": "qolor",
"version": "0.4.1"
},
{
"name": "react",
"version": "0.16.2"
},
{
"name": "react-es6-snippets",
"version": "0.3.0"
},
{
"name": "react-snippets",
"version": "0.7.0"
},
{
"name": "refactor",
"version": "0.11.3"
},
{
"name": "rest-client",
"version": "1.3.1"
},
{
"name": "riot",
"version": "0.4.1"
},
{
"name": "script",
"version": "3.14.1"
},
{
"name": "settings-view",
"version": "0.243.1"
},
{
"name": "shadow",
"version": "0.1.0"
},
{
"name": "slim-dark-ui",
"version": "0.12.0",
"theme": "ui"
},
{
"name": "snippets",
"version": "1.0.4"
},
{
"name": "solarized-dark-syntax",
"version": "1.0.5",
"theme": "syntax"
},
{
"name": "solarized-light-syntax",
"version": "1.0.5",
"theme": "syntax"
},
{
"name": "spec-tree-view",
"version": "0.1.0"
},
{
"name": "spectrum-dark-syntax",
"version": "0.0.3",
"theme": "syntax"
},
{
"name": "spectrum-light-syntax",
"version": "0.0.5",
"theme": "syntax"
},
{
"name": "spell-check",
"version": "0.68.4"
},
{
"name": "split-diff",
"version": "1.1.0"
},
{
"name": "status-bar",
"version": "1.4.1"
},
{
"name": "styleguide",
"version": "0.47.2"
},
{
"name": "symbol-gen",
"version": "1.3.1"
},
{
"name": "symbols-tree-view",
"version": "0.13.2"
},
{
"name": "symbols-view",
"version": "0.113.1"
},
{
"name": "sync-settings",
"version": "0.8.1"
},
{
"name": "tabs",
"version": "0.103.0"
},
{
"name": "term3",
"version": "0.22.1"
},
{
"name": "tester-go",
"version": "2.0.2"
},
{
"name": "theme-switch",
"version": "0.4.0"
},
{
"name": "timecop",
"version": "0.33.2"
},
{
"name": "tinacious-design-syntax",
"version": "1.0.0",
"theme": "syntax"
},
{
"name": "titan-dark-syntax",
"version": "2.0.0",
"theme": "syntax"
},
{
"name": "todo-show",
"version": "1.10.0"
},
{
"name": "tree-view",
"version": "0.210.0"
},
{
"name": "tree-view-git-branch",
"version": "0.1.2"
},
{
"name": "tree-view-git-status",
"version": "1.3.1"
},
{
"name": "typewriter",
"version": "0.4.0"
},
{
"name": "update-package-dependencies",
"version": "0.10.0"
},
{
"name": "welcome",
"version": "0.35.1"
},
{
"name": "whitespace",
"version": "0.35.0"
},
{
"name": "wrap-guide",
"version": "0.38.2"
}
]
{
"Zen": {
"fullscreen": false,
"gutter": true,
"tabs": "multiple",
"width": 91
},
"atom-focus-mode": {
"focusModeLineOpacity": "55%",
"focusShadowModeNumberOfLinesToHighlightAboveCursor": 25,
"focusShadowModeNumberOfLinesToHighlightBelowCursor": 5
},
"atom-material-ui": {
"colors": {
"abaseColor": "#7e7e7e",
"genAccent": true,
"predefinedColor": "Grey"
},
"fonts": {
"fontSize": 12
},
"tabs": {
"tintedTabBar": true
},
"treeView": {
"blendTabs": true,
"compactList": true
},
"ui": {
"animations": false,
"panelContrast": true
}
},
"atom-terminal": {
"app": "iTerm.app"
},
"core": {
"customFileTypes": {
"source.ini": [
".buckconfig",
".flowconfig"
],
"source.json": [
".arcconfig",
"BUCK.autodeps"
],
"source.python": [
"BUCK"
]
},
"disabledPackages": [
"metrics",
"spell-check",
"git-difftool",
"git-log",
"git-plus",
"go-config",
"go-plus",
"language-riot-tag",
"grunt-runner",
"npm-install",
"welcome",
"jslint",
"linter-jshint",
"gofmt",
"navigator-godef",
"builder-go",
"go-get",
"gometalinter-linter",
"gorename",
"linter-coffeelint",
"riot",
"tester-go",
"nuclide",
"js-refactor",
"refactor",
"file-icons",
"shadow",
"autocomplete-go",
"autocomplete-python",
"typewriter",
"pigments",
"neon-selection",
"gtk-dark-theme"
],
"ignoredNames": [
".git",
".DS_Store",
"node_modules",
"bower_components",
"dist"
],
"packagesWithKeymapsDisabled": [
"lcov-info"
],
"projectHome": "~/dev",
"themes": [
"one-dark-ui",
"tinacious-design-syntax"
],
"useCustomTitleBar": true
},
"duotone-dark-syntax": {
"color": {
"duo": "#d9e2ff",
"uno": "#62ffcb"
}
},
"editor": {
"backUpBeforeSaving": true,
"fontFamily": "Source Code Pro",
"fontSize": 21,
"scrollPastEnd": true,
"tabType": "soft"
},
"emmet": {
"extensionsPath": "~/.atom/emmet"
},
"exception-reporting": {
"userId": "b1332370-0ae0-f600-b6fd-12632ae23e2b"
},
"file-watcher": {
"promptWhenFileHasChangedOnDisk": false
},
"genesis-ui": {
"distractionFree": {
"hideSpotified": true
},
"treeView": {}
},
"glacier-dark-ui": {},
"go-plus": {
"formatTool": "gofmt",
"goInstallation": "/usr/local/opt/go/libexec",
"goPath": "$HOME/dev/go",
"runCoverageOnSave": true
},
"hyperclick": {
"darwinTriggerKeys": "ctrlKey"
},
"imdone-atom": {
"todaysJournal": {
"dateFormat": "DD-MM-YYYY",
"monthFormat": "MM-YYYY"
}
},
"js-hyperclick": {
"jumpToImport": true
},
"jslint": {
"hideOnNoErrors": true,
"validateOnChange": true
},
"lcov-info": {
"highlightType": "gutter"
},
"linter": {
"errorPanelHeight": 20,
"showErrorTabLine": true,
"showErrorTabProject": false,
"statusIconPosition": "Right",
"statusIconScope": "File"
},
"linter-eslint": {
"disableFSCache": true
},
"linter-jshint": {
"disableWhenNoJshintrcFileInPath": true,
"lintInlineJavaScript": true,
"lintJSXFiles": true
},
"merge-conflicts": {
"gitPath": "/usr/local/bin/git"
},
"minimap": {
"adjustAbsoluteModeHeight": true,
"plugins": {
"bookmarks": true,
"bookmarksDecorationsZIndex": 0,
"cursorline": true,
"cursorlineDecorationsZIndex": 0,
"git-diff": true,
"git-diffDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0,
"linter": true,
"linterDecorationsZIndex": 0,
"split-diff": true,
"split-diffDecorationsZIndex": 0
}
},
"mocha-test-runner": {},
"mocha-ui": {},
"nuclide": {
"nuclide-home": {
"showHome": false
}
},
"one-dark-ui": {
"layoutMode": "Compact",
"tabSizing": "Minimum"
},
"one-light-ui": {
"layoutMode": "Compact"
},
"preview-plus": {
"htmlp": true
},
"react": {
"enabledForAllJavascriptFiles": true
},
"riot": {
"compileOnSave": false
},
"seti-ui": {
"compactView": true,
"themeColor": "Steel"
},
"slim-dark-ui": {},
"sync-settings": {
"analytics": false
},
"term3": {
"fontFamily": "PT Mono",
"fontSize": "12",
"openPanesInSameSplit": true
},
"theme-switch": {
"darkProfiles": [
"one-dark-ui anodyne-dark-syntax",
"one-dark-ui ariake-dark-syntax",
"one-dark-ui atom-dark-syntax",
"one-dark-ui base16-tomorrow-dark-theme",
"one-dark-ui dark-bint-syntax",
"one-dark-ui duotone-blue-dark-syntax",
"one-dark-ui enlightened",
"one-dark-ui genesis-syntax",
"one-dark-ui gloom",
"one-dark-ui ice-cold-syntax",
"one-dark-ui spectrum-dark-syntax",
"one-dark-ui tinacious-design-syntax",
"one-dark-ui titan-dark-syntax"
],
"lightProfiles": [
"one-light-ui atom-light-syntax",
"one-light-ui base16-tomorrow-light-theme",
"one-light-ui blessed-light-syntax",
"one-light-ui danikai-light-syntax",
"one-light-ui dead-simple-light-syntax",
"one-light-ui enlightened",
"one-light-ui gl-light-syntax",
"one-light-ui naturezen-light-syntax",
"one-light-ui solarized-light-syntax",
"one-light-ui spectrum-light-syntax"
],
"profiles": [
"one-dark-ui anodyne-dark-syntax",
"one-dark-ui ariake-dark-syntax",
"one-dark-ui atom-dark-syntax",
"one-dark-ui base16-tomorrow-dark-theme",
"one-dark-ui dark-bint-syntax",
"one-dark-ui duotone-blue-dark-syntax",
"one-dark-ui enlightened",
"one-dark-ui genesis-syntax",
"one-dark-ui gloom",
"one-dark-ui ice-cold-syntax",
"one-dark-ui spectrum-dark-syntax",
"one-dark-ui tinacious-design-syntax",
"one-dark-ui titan-dark-syntax",
"one-light-ui atom-light-syntax",
"one-light-ui base16-tomorrow-light-theme",
"one-light-ui blessed-light-syntax",
"one-light-ui danikai-light-syntax",
"one-light-ui dead-simple-light-syntax",
"one-light-ui enlightened",
"one-light-ui gl-light-syntax",
"one-light-ui naturezen-light-syntax",
"one-light-ui solarized-light-syntax",
"one-light-ui spectrum-light-syntax"
]
},
"tree-view": {
"showOnRightSide": true,
"squashDirectoryNames": true
},
"typewriter": {
"scopes": "source.c,source.cake,source.clojure,source.coffee,source.coffee.jsx,source.cpp,source.cs,source.css,source.css.less,source.css.scss,source.csx,source.diff,source.gfm,source.git-config,source.go,source.gotemplate,source.java,source.java-properties,source.js,source.js.jsx,source.js.rails source.js.jquery,source.js.regexp,source.js.regexp.replacement,source.json,source.litcoffee,source.log,source.lua,source.makefile,source.nant-build,source.objc,source.objcpp,source.perl,source.perl6,source.plist,source.processing,source.python,source.regexp.python,source.ruby,source.ruby.rails,source.ruby.rails.rjs,source.sass,source.shell,source.sql,source.sql.mustache,source.sql.ruby,source.strings,source.toml,source.yaml,text.git-commit,text.git-rebase,text.html.basic,text.html.erb,text.html.gohtml,text.html.jsp,text.html.mustache,text.html.php,text.html.ruby,text.hyperlink,text.junit-test-report,text.plain,text.plain.null-grammar,text.python.console,text.python.traceback,text.shell-session,text.todo,text.xml,text.xml.plist,text.xml.xsl"
},
"welcome": {
"showOnStartup": false
}
}
# 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'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# https://atom.io/docs/latest/using-atom-basic-customization#cson
@import "ui-variables";
@font-size : 14px;
// @font-family: 'Courier';
// @font-family: 'PT Mono';
// @font-family: 'Andale Mono';
// @font-family: 'Fira Mono';
// @font-family: 'Fira Code';
@font-family: 'Anonymous Pro';
// @font-family: 'Source Code Pro';
// @font-family: 'Menlo';
// @font-family: 'Inconsolata';
* {
font-size: @font-size;
font-family: @font-family;
// -webkit-font-smoothing: antialiased;
}
.tree-view {
opacity: 0.8;
* > {
}
}
atom-text-editor {
font-family: @font-family;
// font-size: 22px;
}
atom-text-editor, atom-text-editor::shadow {
.cursor {
border-left-width: 4px;
transition: opacity 0.5s;
}
.wrap-guide {
opacity: 0.1;
}
.gutter {
font-size: 14px;
opacity: 0.8;
background-color: transparent;
}
.scroll-view {
margin-top: 5px;
margin-left: 35px;
}
.line-number {
opacity: 0.4;
}
// .selection .region {
// background-color: rgba(226, 70, 177, 0.2);
// }
}
.wallaby-tests-view * {
font-size: 16px;
}
/* ------------------------------------------ *
* remove title bar - borderless atom *
* ------------------------------------------ *
*/
// Shift the tabs up
atom-workspace {
// Hide title
.title-bar .title {
display: none;
}
// Remove background from titlebar and toolbars
.title-bar,
.tool-bar,
.tool-bar button.tool-bar-btn {
background-color: transparent;
border-width: 0;
}
atom-workspace-axis.vertical {
.tab-bar {
box-shadow: inset 0 0 0;
}
}
atom-workspace-axis.horizontal {
// comment this out if you want draggable titlebar:
margin-top: -@tab-height;
background-color: inherit;
}
// Keep the side panels aligned
atom-panel-container {
&.left {
margin-top: @tab-height;
}
&.right {
margin-top: @tab-height;
}
}
.fullscreen {
atom-workspace atom-workspace-axis.horizontal {
margin-top: 0px;
}
atom-panel-container{
&.left {
margin-top: 0px;
}
&.right {
margin-top: 0px;
}
}
}
atom-panel-container.left:empty + atom-workspace-axis.vertical .tab-bar {
margin-left: 70px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment