From 1e263266388c0b6cd39e09d81513e32aedc4268c Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Tue, 12 May 2015 21:18:32 +0200 Subject: . --- atom/config.cson | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ atom/init.coffee | 16 +++++++++ atom/keymap.cson | 28 +++++++++++++++ atom/styles.less | 24 +++++++++++++ 4 files changed, 170 insertions(+) create mode 100644 atom/config.cson create mode 100644 atom/init.coffee create mode 100644 atom/keymap.cson create mode 100644 atom/styles.less (limited to 'atom') diff --git a/atom/config.cson b/atom/config.cson new file mode 100644 index 0000000..c5f0683 --- /dev/null +++ b/atom/config.cson @@ -0,0 +1,102 @@ +"*": + Repl: + python3: "python" + "autoclose-html": + forceInline: [ + "*" + ] + "autocomplete-python": + useKite: false + autosave: {} + core: + disabledPackages: [ + "linter" + ] + telemetryConsent: "no" + themes: [ + "atom-dark-ui" + "monokai" + ] + editor: + fontFamily: "Source Code Pro" + invisibles: {} + scrollPastEnd: true + showIndentGuide: true + tabLength: 4 + "exception-reporting": + userId: "1bf124c7-3f32-dd9a-658e-b3fb13caee50" + "ide-python": + pylsPlugins: + autopep8: + enabled: false + flake8: + enabled: true + jedi_completion: + include_params: false + jedi_definition: + follow_builtin_imports: true + follow_imports: true + mccabe: + enabled: false + pyflakes: + enabled: false + linter: {} + "linter-flake8": {} + "linter-ui-default": + panelHeight: 192 + "lisp-paredit": + enabled: false + strict: false + minimap: + plugins: + bookmarks: true + bookmarksDecorationsZIndex: 0 + codeglance: true + codeglanceDecorationsZIndex: 0 + cursorline: true + cursorlineDecorationsZIndex: 0 + "git-diff": true + "git-diffDecorationsZIndex": 0 + "highlight-selected": true + "highlight-selectedDecorationsZIndex": 0 + "split-diff": true + "split-diffDecorationsZIndex": 0 + "one-dark-ui": + layoutMode: "Compact" + "rst-preview-pandoc": + pandocOpts: "-frst -thtml --webtex" + "spell-check": + grammars: [ + "source.yaml" + "text.plain" + "text.restructuredtext" + ] + localePaths: [ + "/usr/share/myspell/dicts/en_US.dic" + ] + locales: [ + "en-US" + ] + "split-diff": + ignoreWhitespace: true + syncHorizontalScroll: true + "symbols-tree-view": + defaultWidth: 400 + tabs: + usePreviewTabs: true + "toggle-packages": + togglePackages: [ + "vim-mode-plus" + ] + "tool-bar": + visible: false + "tree-view": {} + "vim-mode": {} + welcome: + showOnStartup: false + "yaml-path": + activateOnStart: "Don't show on start" +".clojure.source": + editor: + autoIndent: false + autoIndentOnPaste: false diff --git a/atom/init.coffee b/atom/init.coffee new file mode 100644 index 0000000..389716e --- /dev/null +++ b/atom/init.coffee @@ -0,0 +1,16 @@ +# 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.LANG = 'en_US.utf8' +process.env.PYTHONPATH = "/home/bozo/development/hat-open/src_py" diff --git a/atom/keymap.cson b/atom/keymap.cson new file mode 100644 index 0000000..a368b04 --- /dev/null +++ b/atom/keymap.cson @@ -0,0 +1,28 @@ +# 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 + diff --git a/atom/styles.less b/atom/styles.less new file mode 100644 index 0000000..7a9cc70 --- /dev/null +++ b/atom/styles.less @@ -0,0 +1,24 @@ + +.tree-view { + font-size: 16px; +} + +.tab-bar .tab { + font-size: 16px; +} + +.symbols-tree-view { + font-size: 14px; +} + +.editor { + -webkit-font-smoothing: antialiasing; +} + +.editor, atom-text-editor.editor { + .bracket-matcher .region { + position: absolute; + border: 1px solid rgba(0, 255, 0, 0.7); + background-color: rgba(0, 255, 0, 0.3); + } +} -- cgit v1.2.3-70-g09d2