Skip to content

Instantly share code, notes, and snippets.

@Crawleyprint
Created July 28, 2016 11:23
Show Gist options
  • Save Crawleyprint/bad6915c6348ca295c7c20fcf70329ff to your computer and use it in GitHub Desktop.
Save Crawleyprint/bad6915c6348ca295c7c20fcf70329ff to your computer and use it in GitHub Desktop.
{
;; 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/layers/
:layers
[
;; -----------------------------------
;; core layer. Don't remove.
;; -----------------------------------
:core
;; -----------------------------------
;; tools
;; Get more at github.com/dvcrn/proton/tree/master/src/proton/layers/tools
;; -----------------------------------
:tools/git
:tools/linter
;; :tools/bookmarks
;; :tools/build
;; :tools/minimap
:tools/todo
:tools/terminal
;; -----------------------------------
;; Languages
;; Get more at github.com/dvcrn/proton/tree/master/src/proton/layers/lang
;; -----------------------------------
;;:lang/clojure
;; :lang/csharp
:lang/python
;; :lang/julia
;; :lang/latex
:lang/elixir
:lang/markdown
:lang/javascript
;; :lang/rust
;; -----------------------------------
;; 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/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
[
:pigments
:language-php
:atom-autocomplete-php
:file-icons
:emmet
:linter-eslint
:language-gherkin
:Zen
:github-issues
:language-elm
:golden-ratio
:tabs-to-spaces
:php-hyperclick
]
;; 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
:linter-jshint
]
;; 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
["editor.fontFamily" "Hack"]
["editor.softWrap" false]
["editor.showInvisibles" true]
["editor.preferredLineLength" 120]
;; the current default theme
["core.themes" ["nucleus-dark-ui" "atom-dark-fusion-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"]]
;; proton configuration
["proton.core.showTabBar" true]
["proton.core.relativeLineNumbers" true]
;; prefer classic vim mode over vim-mode-plus? Change this to :vim-mode
["proton.core.vim-provider" :vim-mode-plus]
["golden-ratio.scaleFactor" 1.4]
]
;; Don't like a keybinding or want to add something yourself? Do it here
: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: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