Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. {
  2. ;; This is your main proton configuration file
  3. ;; While using proton, all atom related configuration has to go inside here
  4. ;; Everything that is not set up through this file will get wiped on start
  5. ;; We gave you some cool defaults below but if you don't like it, feel free to change :)
  6.  
  7. ;; Layers you wish to have active
  8. ;; To get a list of all available layers, check github.com/dvcrn/proton/tree/master/src/cljs/proton/layers
  9. :layers
  10. [
  11. ;; -----------------------------------
  12. ;; core layer. Don't remove.
  13. ;; -----------------------------------
  14. :core
  15.  
  16.  
  17. ;; -----------------------------------
  18. ;; tools
  19. ;; Get more at github.com/dvcrn/proton/tree/master/src/cljs/proton/layers/tools
  20. ;; -----------------------------------
  21. :tools/git
  22. :tools/linter
  23. ;; :tools/bookmarks
  24. ;; :tools/build
  25. ;; :tools/minimap
  26.  
  27.  
  28. ;; -----------------------------------
  29. ;; Languages
  30. ;; Get more at github.com/dvcrn/proton/tree/master/src/cljs/proton/layers/lang
  31. ;; -----------------------------------
  32. :lang/clojure
  33. ;; :lang/csharp
  34. ;; :lang/python
  35. ;; :lang/julia
  36. ;; :lang/latex
  37. ;; :lang/elixir
  38. ;; :lang/markdown
  39. ;; :lang/rust
  40. ;; :lang/javascript
  41.  
  42. ;; -----------------------------------
  43. ;; Frameworks
  44. ;; Get more at github.com/dvcrn/proton/tree/master/src/proton/layers/frameworks
  45. ;; -----------------------------------
  46. ;; :frameworks/django
  47.  
  48. ;; -----------------------------------
  49. ;; etc
  50. ;; Get more at github.com/dvcrn/proton/tree/master/src/cljs/proton/layers/fun
  51. ;; -----------------------------------
  52. ;; :fun/power_mode
  53. ]
  54.  
  55. ;; Packages that are not part of a layer. List them here as keyword
  56. ;; All packages will be ensured to be installed. Stuff that is not listed here
  57. ;; Will get uninstalled so choose wisely!
  58. :additional-packages
  59. [
  60. ;; :pigments
  61. :atom-mocha
  62. ]
  63.  
  64. ;; Packages that you want to disable.
  65. ;; Note that packages will be removed except bundled packages.
  66. ;; Bundled packages will be disabled instead.
  67. ;; Use this configuration instead of atom's `core.disabledPackages`
  68. :disabled-packages [
  69. ;; :autoupdate-packages
  70. ;; :about
  71. ;; :welcome
  72. ]
  73. ;; Proton takes over your atom configuration. All settings that are not listed here will get wiped
  74. ;; Configurations are denoted as 2 element vector consisting of k/v
  75. ;; sub-vectors inside v will get treated like javascript arrays
  76. :configuration
  77. [
  78. ;; appearance
  79. ["editor.fontFamily" "Hack"]
  80.  
  81. ;; the current default theme
  82. ["core.themes" ["nucleus-dark-ui" "atom-dark-fusion-syntax"]]
  83. ;; here are some more popular theme ideas for you to pick from:
  84. ;; ["core.themes" ["atom-material-ui" "atom-material-syntax"]]
  85. ["core.themes" ["one-dark-ui" "one-dark-syntax"]]
  86.  
  87. ;; proton configuration
  88. ["proton.core.showTabBar" true]
  89. ["proton.core.relativeLineNumbers" false]
  90. ;; prefer classic vim mode over vim-mode-plus? Change this to :vim-mode
  91. ["proton.core.inputProvider" :vim-mode-plus]
  92. ;; proto-repl confing
  93. ["proto-repl.autoPrittyPrint" true]
  94. ["proto-repl.showInlineResults" false]
  95. ]
  96.  
  97. ;; Don't like a keybinding or want to add something yourself? Do it here
  98. ;; The following example adds a category `foo-category` under <SPC>z
  99. ;; and adds a action under `y` with the title `execute hello`.
  100. ;; Upon executing, proton will dispatch the action `hello` on the current view
  101. ;;
  102. ;; :keybindings {:z {:category "foo-category"
  103. ;; :y {:title "execute hello"
  104. ;; :action "hello"}}}
  105. :keybindings {:r {:category "REPL"
  106. :e {:title "Eval Top Block"
  107. :action "proto-repl:execute-top-block"}
  108. :b {:title "Eval Current Block"
  109. :action "proto-repl:execute-block"}
  110. :c {:title "nREPL Connect"
  111. :action "proto-repl:remote-nrepl-connection"}
  112. :d {:title "Print var docs"
  113. :action "proto-repl:print-var-documentation"}
  114. :k {:title "Clear REPL"
  115. :action "proto-repl:clear-repl"}
  116. :I {:title "Interupt"
  117. :action "proto-repl:interrupt"}}}
  118.  
  119. ;; Want some custom behavior inside a certain window?
  120. ;; Add your own nifty things here!
  121. :keymaps [{:selector ".tree-view" :keymap [["escape" "tree-view:toggle"]]}
  122. ;; Want to rebind ESC to something else? You can do that here.
  123. ;; If you are good with esc, just remove the following line.
  124. {:selector "atom-text-editor.vim-mode-plus:not(.normal-mode)" :keymap [["f d" "vim-mode-plus:activate-normal-mode"]]}
  125. ;; {:selector "atom-text-editor.vim-mode:not(.normal-mode)" :keymap [["f d" "vim-mode:activate-normal-mode"]]}
  126. ]
  127. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement