Skip to content

Commit

Permalink
Add new snowblock for Atom
Browse files Browse the repository at this point in the history
Created a new snowblock for Atom (1) including

* the main CSON based condifuration file (2)
* the keymapping configuration file (3)

> Package Support

* package-sync
  The "package-sync" (4) package should be supported with a
  "packages.cson" file including all installed packages.

* project-folder
  The "project-folder.cson" configuration file for the
  project-folder (5) package contains all necessary group entries.

References:

  (1) https://atom.io
  (2) https://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson
  (3) http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth
  (4) https://github.com/t9md/atom-project-folder
  (5) https://github.com/lee-dohm/package-sync

Closes GH-106
  • Loading branch information
arcticicestudio committed Feb 20, 2018
1 parent 7125312 commit 528383c
Show file tree
Hide file tree
Showing 8 changed files with 366 additions and 5 deletions.
164 changes: 164 additions & 0 deletions snowblocks/atom/config.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# Copyright (c) 2017-present Arctic Ice Studio <[email protected]>
# Copyright (c) 2017-present Sven Greb <[email protected]>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
# References:
# https://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson

"*":
"atom-beautify":
general:
analytics: false
beautifyEntireFileOnSave: false
"atom-ide-ui":
hyperclick:
linuxTriggerKeys: "shiftKey,ctrlKey"
"atom-material-ui":
colors:
abaseColor: "#88c0d0"
accentColor: "#81a1c1"
predefinedColor: "Cyan"
fonts:
fontSize: 18
tabs:
compactTabs: true
noTabMinWidth: true
stretchedTabs: true
treeView:
compactList: true
ui:
panelContrast: true
panelShadows: true
"color-picker":
abbreviateValues: true
preferredFormat: "HEX"
uppercaseColorValues: true
"command-palette":
preserveLastSearch: true
core:
allowPendingPaneItems: false
audioBeep: false
autoHideMenuBar: true
automaticallyUpdate: false
closeEmptyWindows: false
disabledPackages: [
"exception-reporting"
"metrics"
"markdown-preview"
"symbols-view"
"github"
]
openEmptyEditorOnStart: false
telemetryConsent: "no"
themes: [
"nord-atom-ui"
"nord-atom-syntax"
]
useProxySettingsWhenCallingApm: false
docblockr:
c_style_block_comments: true
spacer_between_sections: "after_description"
editor:
fontFamily: "Source Code Pro Medium"
fontSize: 22
preferredLineLength: 120
scrollPastEnd: true
showInvisibles: true
softWrap: true
softWrapAtPreferredLineLength: true
tabType: "soft"
zoomFontWhenCtrlScrolling: false
"fuzzy-finder":
ignoredNames: [
"node_modules"
]
prefillFromSelection: true
preserveLastSearch: true
"git-diff":
showIconsInEditorGutter: true
hyperclick:
linuxTriggerKeys: "shiftKey"
win32TriggerKeys: "shiftKey"
"linter-less":
ieCompatibilityChecks: false
"linter-markdown":
presetConsistentWithoutConfig: false
presetRecommendedWithoutConfig: false
"markdown-preview-enhanced":
closePreviewAutomatically: false
enableExtendedTableSyntax: true
enableScriptExecution: false
imageDropAction: "do nothing"
openPreviewPaneAutomatically: false
minimap:
plugins:
"git-diff": true
"git-diffDecorationsZIndex": 0
"highlight-selected": true
"highlight-selectedDecorationsZIndex": 0
pigments: true
pigmentsDecorationsZIndex: 0
scrollAnimation: true
"nord-atom-syntax":
accessibility:
commentContrast: 8
"nord-atom-ui":
darkerFormFocusEffect: true
"package-sync":
createOnChange: true
forceOverwrite: true
pigments:
notifyReloads: false
"prettier-atom":
formatOnSaveOptions:
isDisabledIfNoConfigFile: true
isDisabledIfNotInPackageJson: true
prettierOptions:
printWidth: 120
tabWidth: 2
useEditorConfig: false
useEslint: true
useStylelint: true
"project-folder":
gitProjectDirectories: [
"~/code/incubator"
"~/code/job"
"~/yggdrasil"
]
gitProjectSearchMaxDepth: 2
projectRootDirectories: [
"~/code/bitfroest"
"~/code/lab"
]
showGroupOnRemoveListCondition: "some-member-was-loaded"
"spell-check":
addKnownWords: true
knownWords: [
"arcticicestudio"
"arctic ice studio"
"facebook"
"github"
"greb"
"lifecycle"
"mdn"
"mozilla"
"reddit"
"stackoverflow"
"sven"
"svengreb"
"sven greb"
"twitter"
"youtube"
]
locales: [
"en-US"
"de-DE"
]
tabs:
enableVcsColoring: true
welcome:
showOnStartup: false
whitespace:
removeTrailingWhitespace: false
19 changes: 19 additions & 0 deletions snowblocks/atom/keymap.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) 2017-present Arctic Ice Studio <[email protected]>
# Copyright (c) 2017-present Sven Greb <[email protected]>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
# References:
# http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth

"body":
# Prevent unintended closing of Atom.
"ctrl-q": "unset!"
"ctrl-shift-W": "unset!"

# Simple and fast project management workflow.
"ctrl-alt-p": "project-folder:add"

"atom-text-editor":
"ctrl-alt-c": "color-picker:open"
45 changes: 45 additions & 0 deletions snowblocks/atom/packages.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Copyright (c) 2017-present Arctic Ice Studio <[email protected]>
# Copyright (c) 2017-present Sven Greb <[email protected]>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
# References:
# https://github.com/lee-dohm/package-sync

packages: [
"atom-beautify"
"atom-material-ui"
"busy-signal"
"color-picker"
"docblockr"
"file-icons"
"highlight-selected"
"intentions"
"language-babel"
"language-diff"
"language-docker"
"language-generic-config"
"language-groovy"
"language-systemd"
"language-viml"
"linter"
"linter-eslint"
"linter-js-yaml"
"linter-jsonlint"
"linter-less"
"linter-markdown"
"linter-stylelint"
"linter-ui-default"
"markdown-preview-enhanced"
"minimap"
"minimap-git-diff"
"minimap-highlight-selected"
"minimap-pigments"
"nord-atom-syntax"
"nord-atom-ui"
"package-sync"
"pigments"
"prettier-atom"
"project-folder"
]
114 changes: 114 additions & 0 deletions snowblocks/atom/project-folder.cson
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Copyright (c) 2017-present Arctic Ice Studio <[email protected]>
# Copyright (c) 2017-present Sven Greb <[email protected]>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
# References:
# https://github.com/t9md/atom-project-folder#config

groups:
"AUR": [
"~/yggdrasil/aur/mqttfx-bin"
"~/yggdrasil/aur/nord-emacs"
"~/yggdrasil/aur/nord-gedit"
"~/yggdrasil/aur/nord-konsole"
"~/yggdrasil/aur/nord-tilix"
"~/yggdrasil/aur/nord-vim"
"~/yggdrasil/aur/nord-vim-airline"
"~/yggdrasil/aur/nord-vim-lightline"
"~/yggdrasil/aur/nord-xfce-terminal"
]
"IceCore": [
"~/yggdrasil/icecore/icecore-hashids"
"~/yggdrasil/icecore/icecore-json"
"~/yggdrasil/icecore/icecore-strman"
]
"Lumio": [
"~/yggdrasil/lumio/lumio"
"~/yggdrasil/lumio/lumio-java"
]
"music-playlists": [
"~/music/playlists"
]
"Nord": [
"~/yggdrasil/nord/nord"
"~/yggdrasil/nord/nord-alacritty"
"~/yggdrasil/nord/nord-atom-syntax"
"~/yggdrasil/nord/nord-atom-ui"
"~/yggdrasil/nord/nord-brackets"
"~/yggdrasil/nord/nord-coda"
"~/yggdrasil/nord/nord-conemu"
"~/yggdrasil/nord/nord-dircolors"
"~/yggdrasil/nord/nord-eclipse-syntax"
"~/yggdrasil/nord/nord-emacs"
"~/yggdrasil/nord/nord-gedit"
"~/yggdrasil/nord/nord-gnome-terminal"
"~/yggdrasil/nord/nord-guake"
"~/yggdrasil/nord/nord-highlightjs"
"~/yggdrasil/nord/nord-hyper"
"~/yggdrasil/nord/nord-iterm2"
"~/yggdrasil/nord/nord-java"
"~/yggdrasil/nord/nord-jetbrains-editor"
"~/yggdrasil/nord/nord-konsole"
"~/yggdrasil/nord/nord-mintty"
"~/yggdrasil/nord/nord-notepadplusplus"
"~/yggdrasil/nord/nord-putty"
"~/yggdrasil/nord/nord-slack"
"~/yggdrasil/nord/nord-sublime-text"
"~/yggdrasil/nord/nord-terminal-app"
"~/yggdrasil/nord/nord-terminator"
"~/yggdrasil/nord/nord-termite"
"~/yggdrasil/nord/nord-tilix"
"~/yggdrasil/nord/nord-tmux"
"~/yggdrasil/nord/nord-vim"
"~/yggdrasil/nord/nord-visual-studio-code"
"~/yggdrasil/nord/nord-xcode"
"~/yggdrasil/nord/nord-xfce-terminal"
"~/yggdrasil/nord/nord-xresources"
]
"Northem": [
"~/yggdrasil/northem/northem/northem"
"~/yggdrasil/northem/northem/northem-atom-syntax"
"~/yggdrasil/northem/northem/northem-atom-ui"
"~/yggdrasil/northem/northem/northem-dark"
"~/yggdrasil/northem/northem/northem-dark-atom-syntax"
"~/yggdrasil/northem/northem/northem-dark-atom-ui"
"~/yggdrasil/northem/northem/northem-dark-eclipse-syntax"
"~/yggdrasil/northem/northem/northem-dark-gedit-syntax"
"~/yggdrasil/northem/northem/northem-dark-intellij-idea-syntax"
"~/yggdrasil/northem/northem/northem-dark-java"
"~/yggdrasil/northem/northem/northem-dark-notepadplusplus-syntax"
"~/yggdrasil/northem/northem/northem-eclipse-syntax"
"~/yggdrasil/northem/northem/northem-gedit-syntax"
"~/yggdrasil/northem/northem/northem-intellij-idea-syntax"
"~/yggdrasil/northem/northem/northem-java"
"~/yggdrasil/northem/northem/northem-light"
"~/yggdrasil/northem/northem/northem-light-atom-syntax"
"~/yggdrasil/northem/northem/northem-light-atom-ui"
"~/yggdrasil/northem/northem/northem-light-eclipse-syntax"
"~/yggdrasil/northem/northem/northem-light-gedit-syntax"
"~/yggdrasil/northem/northem/northem-light-intellij-idea-syntax"
"~/yggdrasil/northem/northem/northem-light-java"
"~/yggdrasil/northem/northem/northem-light-notepadplusplus-syntax"
"~/yggdrasil/northem/northem/northem-notepadplusplus-syntax"
]
"scratchpad": [
"~/documents/scratchpad"
]
"snippetbox": [
"~/code/snippetbox"
]
"styleguide": [
"~/yggdrasil/styleguide/eslint-config-arcticicestudio"
"~/yggdrasil/styleguide/eslint-config-arcticicestudio-base"
"~/yggdrasil/styleguide/remark-preset-lint-arcticicestudio"
"~/yggdrasil/styleguide/styleguide"
"~/yggdrasil/styleguide/styleguide-git"
"~/yggdrasil/styleguide/styleguide-java"
"~/yggdrasil/styleguide/styleguide-javascript"
"~/yggdrasil/styleguide/styleguide-markdown"
]
"videos-playlists": [
"~/videos/playlists"
]
24 changes: 24 additions & 0 deletions snowblocks/atom/snowblock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"clean": [
"~/.atom"
]
},
{
"link": {
"~/.atom/config.cson": {
"create": true,
"force": true
},
"~/.atom/keymap.cson": {
"force": true
},
"~/.atom/project-folder.cson": {
"force": true
},
"~/.atom/packages.cson": {
"force": true
}
}
}
]
Binary file modified snowblocks/tilix/bookmarks.json.archbook.igloocrypt
Binary file not shown.
Binary file modified snowblocks/xdg/gtk-3.0/bookmarks.archbook.igloocrypt
Binary file not shown.
5 changes: 0 additions & 5 deletions snowblocks/xdg/snowblock.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@
"force": true,
"path": "applications/org.gnome.gedit.desktop"
},
"~/.local/share/applications/org.gnome.Nautilus.desktop": {
"create": true,
"force": true,
"path": "applications/org.gnome.Nautilus.desktop"
},
"~/.local/share/applications/org.gnome.Screenshot.desktop": {
"create": true,
"force": true,
Expand Down

0 comments on commit 528383c

Please sign in to comment.