From f6d36dbaed3588be5d69cc557dc3ab21277753cc Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Fri, 15 Jul 2016 10:38:44 +0200 Subject: [PATCH] [atom] added --- atom/config.cson | 118 +++++++++++++++++++++++++++++++++++++++++++++ atom/keymap.cson | 5 ++ atom/snippets.cson | 47 ++++++++++++++++++ 3 files changed, 170 insertions(+) create mode 100644 atom/config.cson create mode 100644 atom/keymap.cson create mode 100644 atom/snippets.cson diff --git a/atom/config.cson b/atom/config.cson new file mode 100644 index 0000000..de594f4 --- /dev/null +++ b/atom/config.cson @@ -0,0 +1,118 @@ +"*": + "Atom-Hack": {} + Termrk: + defaultHeight: 353 + fontFamily: "Hermit" + _dartlang: + _errorsInitialized: true + _firstRun: true + _version: "0.6.31" + _flutterAnalytics: + clientId: "5513e60a-abb3-4f83-ac72-3a9c0dd26c5c" + optIn: true + "atom-beautify": + _analyticsUserId: "e351c0a9-48b4-4072-b99f-f3ca93f804c6" + general: + _analyticsUserId: "49f1b430-b624-4005-bd40-d98ee4223b53" + "atom-oss-license": + name: "Marcel Kapfer (mmk2410)" + "atom-pair": {} + "atom-slime": + slimePath: "/home/wilson/quicklisp/dists/quicklisp/software/slime-v2.17/" + "autocomplete-plus": + autoActivationDelay: 500 + confirmCompletion: "tab" + "autocomplete-python": + addBracketAfterFunction: true + build: {} + core: + audioBeep: false + autoHideMenuBar: true + disabledPackages: [ + "autocomplete-clang" + "linter-cpplint" + "hidpi" + "Atom-Hack" + "language-hack" + ] + followSymlinks: false + openEmptyEditorOnStart: false + themes: [ + "one-light-ui" + "one-light-syntax" + ] + dartino: + sdkPath: "/opt/dart/bin/" + dartlang: + sdkLocation: "/opt/dart/" + sendUsage: false + showOutlineView: false + editor: + fontFamily: "Hermit" + fontSize: 12 + invisibles: {} + scrollPastEnd: true + showIndentGuide: true + softWrap: true + softWrapAtPreferredLineLength: true + "exception-reporting": + userId: "89f427c1-00e2-380c-5d66-153f74c4ca10" + "gruvbox-plus-syntax": + brightness: "Light" + "gtk-dark-theme": {} + "haskell-ghc-mod": {} + hex: {} + hidpi: {} + "ide-haskell": {} + latex: + okularPath: "/usr/bin/mupdf" + texPath: "/usr/bin/" + "latex-plus": + texBin: "/usr/local/bin/" + latexer: {} + linter: + displayLinterInfo: false + errorPanelHeight: 79 + showErrorPanel: false + "linter-chktex": {} + "linter-clang": {} + "linter-csslint": {} + "linter-dartanalyzer": + dartanalyzerExecutablePath: "/opt/dart/bin/dartanalyzer" + "linter-htmlhint": {} + "linter-phpcs": {} + "linter-pylint": {} + "lisp-paredit": + enabled: false + strict: false + "markdown-pdf": {} + minimap: {} + preview: {} + "sass-autocompile": {} + "todo-show": {} + "tree-view": + hideVcsIgnoredFiles: true + "vim-mode": + useClipboardAsDefaultRegister: true + useSmartcaseForSearch: true + welcome: + showOnStartup: false +".c.source": + editor: + showInvisibles: false +".coffee.source": + editor: + autoIndentOnPaste: true + tabLength: 2 +".dart.source": + editor: + tabLength: 2 +".html.php.text": + editor: + tabLength: 4 +".lisp-repl.source": + editor: + tabLength: 4 +".source.yaml-ext": + editor: + tabLength: 4 diff --git a/atom/keymap.cson b/atom/keymap.cson new file mode 100644 index 0000000..15dafb9 --- /dev/null +++ b/atom/keymap.cson @@ -0,0 +1,5 @@ +'atom-text-editor[data-grammar~=lisp]': + 'tab': 'lisp-paredit:indent' + +'atom-text-editor': + 'n m' : 'vim-mode:reset-normal-mode' diff --git a/atom/snippets.cson b/atom/snippets.cson new file mode 100644 index 0000000..c4761ac --- /dev/null +++ b/atom/snippets.cson @@ -0,0 +1,47 @@ +'.text.html.basic': + 'nsection': + 'prefix': 'nsection' + 'body': """ +
+
$1
+
+ $2 +
+
+ """ + + 'nsubsection': + 'prefix': 'nsubsection' + 'body': """ +
$1
+
+ $2 +
+ """ + + 'nintro': + 'prefix': 'nintro' + 'body': """ +
+ +
$2
+
+ $3 +
+
+ """ + + 'ncsselement': + 'prefix': 'ncsselement' + 'body': '' + +'.text.tex.latex': + 'upkg': + 'prefix': 'upkg' + 'body': '\\usepackage[$1]{$2}$3' + '__': + 'prefix': '__' + 'body': '_{$1}$2' + '^^': + 'prefix': '^^' + 'body': '^{$1}$2'