Forráskód Böngészése

Add atom links to dotfiles

Kevin Heinicke 8 éve
szülő
commit
9a69ae34f6
8 módosított fájl, 123 hozzáadás és 0 törlés
  1. 4 0
      .gitignore
  2. 18 0
      atom/config.cson
  3. 1 0
      atom/github.cson
  4. 11 0
      atom/init.coffee
  5. 32 0
      atom/keymap.cson
  6. 21 0
      atom/snippets.cson
  7. 32 0
      atom/styles.less
  8. 4 0
      install.conf.yaml

+ 4 - 0
.gitignore

@@ -1,2 +1,6 @@
 .zsh-ownrc
 powerline-fonts/
+atom/.*
+atom/blob-store/
+atom/compile-cache/
+atom/storage/

+ 18 - 0
atom/config.cson

@@ -0,0 +1,18 @@
+"*":
+  core:
+    disabledPackages: [
+      "whitespace"
+    ]
+    themes: [
+      "one-light-ui"
+      "solarized-light-syntax"
+    ]
+  editor:
+    fontFamily: "Source Code Pro"
+    fontSize: 16
+  "exception-reporting":
+    userId: "ab2d6c57-858a-4413-8c4b-c8beb7547064"
+  "trailing-spaces": {}
+  whitespace:
+    ensureSingleTrailingNewline: false
+    ignoreWhitespaceOnCurrentLine: false

+ 1 - 0
atom/github.cson

@@ -0,0 +1 @@
+# Store non-visible GitHub package state.

+ 11 - 0
atom/init.coffee

@@ -0,0 +1,11 @@
+# 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()}"

+ 32 - 0
atom/keymap.cson

@@ -0,0 +1,32 @@
+# 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:
+# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#_customizing_keybindings
+# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
+#
+# If you're having trouble with your keybindings not working, try the
+# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
+# Debugging Guide for more information:
+# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings
+#
+# This file uses CoffeeScript Object Notation (CSON).
+# If you are unfamiliar with CSON, you can read more about it in the
+# Atom Flight Manual:
+# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson

+ 21 - 0
atom/snippets.cson

@@ -0,0 +1,21 @@
+# 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:
+# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson

+ 32 - 0
atom/styles.less

@@ -0,0 +1,32 @@
+/*
+ * 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%);
+}
+
+// style UI elements inside atom-text-editor
+atom-text-editor .cursor {
+  // border-color: red;
+}

+ 4 - 0
install.conf.yaml

@@ -27,3 +27,7 @@
         path: external/prezto/
     /usr/local/bin/syncIgnore: scripts/syncIgnore
     ~/.ssh/rc: sshrc
+    ~/.atom:
+        relink: true
+        path: atom/
+        create: true