Skip to content

Instantly share code, notes, and snippets.

@agustif
Last active April 29, 2017 03:29
Show Gist options
  • Save agustif/4dfd1ed40a19092b38e2256fa281a2f2 to your computer and use it in GitHub Desktop.
Save agustif/4dfd1ed40a19092b38e2256fa281a2f2 to your computer and use it in GitHub Desktop.
proton-cpu
{
;; This is your main proton configuration file
;; While using proton, all atom related configuration has to go inside here
;; Everything that is not set up through this file will get wiped on start
;; We gave you some cool defaults below but if you don't like it, feel free to change :)
;; Layers you wish to have active
;; To get a list of all available layers, check github.com/dvcrn/proton/tree/master/src/cljs/proton/layers
:layers
[
;; -----------------------------------
;; core layer. Don't remove.
;; -----------------------------------
:core
;; -----------------------------------
;; tools
;; Get more at github.com/dvcrn/proton/tree/master/src/cljs/proton/layers/tools
;; -----------------------------------
:tools/git
:tools/linter
:tools/bookmarks
:tools/build
:tools/minimap
:tools/expose
:tools/terminal
:tools/todo
;; -----------------------------------
;; Languages
;; Get more at github.com/dvcrn/proton/tree/master/src/cljs/proton/layers/lang
;; -----------------------------------
;; :lang/clojure
;; :lang/csharp
;; :lang/python
;; :lang/julia
;; :lang/latex
:lang/markdown
;; :lang/rust
:lang/javascript
:lang/elixir
:lang/html
:lang/css
:lang/json
;; -----------------------------------
;; Frameworks
;; Get more at github.com/dvcrn/proton/tree/master/src/proton/layers/frameworks
;; -----------------------------------
;; :frameworks/django
;; -----------------------------------
;; etc
;; Get more at github.com/dvcrn/proton/tree/master/src/cljs/proton/layers/fun
;; -----------------------------------
;; :fun/power_mode
]
;; Packages that are not part of a layer. List them here as keyword
;; All packages will be ensured to be installed. Stuff that is not listed here
;; Will get uninstalled so choose wisely!
:additional-packages
[
:timecop
:tablr
:auto-detect-indentation
;; :atom-react-autocomplete
;; :atom-clock
:atom-pair-less ;; Pair Programming
:atom-reactjs-snippets
:jsx-comment
:autocomplete-erlang
:autocomplete-paths
:autocomplete-project-paths
:autocomplete-modules
:color-picker
:dash
:enhanced-tabs
:fold-lines
:indent-guide-improved
:isotope-ui
:language-generic-config
:language-docker
:language-nginx
:language-erlang
:language-less
:language-babel
:language-yaml
:prettier-atom
:toggle-quotes
:linter-elixir-credo
;; :linter-write-good
:linter-less
:markdown-writer
:open-recent
:pane-full-info
:pigments
:project-manager
:seti-syntax
:sort-lines
:tree-view-autoresize
:tree-view-git-status
;; :react-component-preview
]
;; Packages that you want to disable.
;; Note that packages will be removed except bundled packages.
;; Bundled packages will be disabled instead.
;; Use this configuration instead of atom's `core.disabledPackages`
:disabled-packages [
;; :autoupdate-packages
:about
:welcome
;; :atom-ternjs
:environment
:easy-motion-redux
:react
]
;; Proton takes over your atom configuration. All settings that are not listed here will get wiped
;; Configurations are denoted as 2 element vector consisting of k/v
;; sub-vectors inside v will get treated like javascript arrays
:configuration
[
;; appearance
["fonts.fontFamily" "SourceCodePro+Powerline+Awesome Regular"]
["editor.fontFamily" "SourceCodePro+Powerline+Awesome Regular"]
["editor.fontSize" "12"]
["editor.showInvisibles" true]
["editor.showIndentGuide" true]
;; terminal make it pretty
["platformio-ide-terminal.style.fontFamily" "Meslo LG M for Powerline"]
["platformio-ide-terminal.ansiColors.normal.blue" "#2f88fd"]
["platformio-ide-terminal.ansiColors.normal.red" "#e5663d"]
["platformio-ide-terminal.ansiColors.normal.green" "#7cc64a"]
["platformio-ide-terminal.ansiColors.normal.yellow" "#ebdc39"]
["platformio-ide-terminal.ansiColors.normal.magenta" "#f775c5"]
["platformio-ide-terminal.ansiColors.normal.cyan" "#42bfe1"]
["platformio-ide-terminal.ansiColors.zBright.brightBlue" "#6ea3f6"]
["platformio-ide-terminal.ansiColors.zBright.brightRed" "#e99377"]
["platformio-ide-terminal.ansiColors.zBright.brightGreen" "#8fc36c"]
["platformio-ide-terminal.ansiColors.zBright.brightYellow" "#fffc67"]
["platformio-ide-terminal.ansiColors.zBright.brightMagenta" "#fd9acc"]
["platformio-ide-terminal.ansiColors.zBright.brightCyan" "#88d7ec"]
["isotope-ui.minimalMode" true]
["seti-syntax.themeColor" "Green"]
["linter-elixirc.elixircPath" "/Users/cpu/.asdf/shims/elixirc"]
["pigments.markerType" "native-dot"]
["pigments.autocompleteSuggestionsFromValue" true]
["pigments.notifyReloads" false]
["advanced-open-file.fuzzyMatch" true]
["chrome.devtools.panels.themeName" "dark"]
;; the current default theme
["core.themes" ["isotope-ui" "seti-syntax"]]
;; here are some more popular theme ideas for you to pick from:
;; ["core.themes" ["atom-material-ui" "atom-material-syntax"]]
;; ["core.themes" ["one-dark-ui" "one-dark-syntax"]]
["core.titleBar" "hidden"]
;; proton configuration
["proton.core.showTabBar" true]
["proton.core.relativeLineNumbers" false]
;; prefer classic vim mode over vim-mode-plus? Change this to :vim-mode
["proton.core.inputProvider" :vim-mode-plus]
]
;; Don't like a keybinding or want to add something yourself? Do it here
;; The following example adds a category `foo-category` under <SPC>z
;; and adds a action under `y` with the title `execute hello`.
;; Upon executing, proton will dispatch the action `hello` on the current view
;;
;; :keybindings {:z {:category "foo-category"
;; :y {:title "execute hello"
;; :action "hello"}}}
:keybindings {}
;; Want some custom behavior inside a certain window?
;; Add your own nifty things here!
:keymaps [{:selector ".tree-view" :keymap [["escape" "tree-view:toggle"]]}
;; Want to rebind ESC to something else? You can do that here.
;; If you are good with esc, just remove the following line.
{:selector "atom-text-editor.vim-mode-plus:not(.normal-mode)" :keymap [["f d" "vim-mode-plus:activate-normal-mode"]]}
;; {:selector "atom-text-editor.vim-mode:not(.normal-mode)" :keymap [["f d" "vim-mode:activate-normal-mode"]]}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment