add atom configs
authorAndrew Lorimer <andrew@lorimer.id.au>
Wed, 8 Aug 2018 08:06:48 +0000 (18:06 +1000)
committerAndrew Lorimer <andrew@lorimer.id.au>
Wed, 8 Aug 2018 08:06:48 +0000 (18:06 +1000)
atom/.atom/config.cson [new file with mode: 0644]
atom/.atom/markdown-preview-plus.cson [new file with mode: 0644]
diff --git a/atom/.atom/config.cson b/atom/.atom/config.cson
new file mode 100644 (file)
index 0000000..9c38c2c
--- /dev/null
@@ -0,0 +1,64 @@
+"*":
+  "":
+    source:
+      gfm:
+        editor:
+          softWrap: true
+  "autocomplete-plus":
+    enableAutoActivation: false
+  core:
+    autoHideMenuBar: true
+    disabledPackages: [
+      "markdown-preview"
+    ]
+    telemetryConsent: "no"
+  editor:
+    showIndentGuide: true
+    softWrap: false
+  "exception-reporting":
+    userId: "343a74e6-1403-4eb8-9ead-7927cd45ba3d"
+  latex:
+    buildOnSave: true
+    opener: "custom"
+    viewerPath: "/usr/bin/evince"
+  "markdown-preview":
+    breakOnSingleNewline: true
+  "markdown-preview-plus":
+    markdownItConfig: {}
+    mathConfig:
+      enableLatexRenderingByDefault: true
+    previewConfig:
+      activatePreviewWithEditor: true
+    renderer: "pandoc"
+    saveConfig:
+      saveToPDFOptions:
+        printSelectionOnly: true
+    syncConfig:
+      syncEditorOnPreviewScroll: true
+      syncPreviewOnChange: true
+      syncPreviewOnEditorScroll: true
+  "spell-check":
+    addKnownWords: true
+    grammars: [
+      "source.asciidoc"
+      "source.gfm"
+      "text.git-commit"
+      "text.plain"
+      "text.plain.null-grammar"
+      "text.tex.latex"
+    ]
+    knownWords: [
+      "Lorimer"
+      "polyethene"
+      "fulfill"
+    ]
+    locales: [
+      "en-AU"
+    ]
+  welcome:
+    showOnStartup: false
+  whitespace:
+    ensureSingleTrailingNewline: false
+".latex.tex.text":
+  editor:
+    softWrap: true
diff --git a/atom/.atom/markdown-preview-plus.cson b/atom/.atom/markdown-preview-plus.cson
new file mode 100644 (file)
index 0000000..75bc054
--- /dev/null
@@ -0,0 +1,21 @@
+# You can place LaTeX Macros here.
+# They are written as coffeescript objects in CSON.
+# So don't forget to escape your backslashes!
+# Here are some examples to get you going:
+
+# A zero argument macro
+# This is just an alias for \theta.
+
+# th: "{\\theta}" # Example usage: $\th$
+
+# A one argument macro
+# This one gives you "1 over something" as a fraction.
+
+# inv: ["{\\frac{1}{#1}}",1] # Example usage: $\inv{x}$
+
+# A two argument macro
+# This one gives you a fraction with nicely typeset parentheses on either side.
+
+# pfrac: ["{\\left(\\frac{#1}{#2}\\right)}",2] # Example usage: $\pfrac{x}{y}$
+
+# You can use up to 9 arguments like this!