-
Notifications
You must be signed in to change notification settings - Fork 55
/
proton.edn
129 lines (115 loc) · 4.32 KB
/
proton.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
;; 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
;; -----------------------------------
;; Languages
;; Get more at github.com/dvcrn/proton/tree/master/src/cljs/proton/layers/lang
;; -----------------------------------
;; :lang/clojure
;; :lang/csharp
;; :lang/css
;; :lang/elixir
;; :lang/elm
;; :lang/go
;; :lang/haml
;; :lang/handlebars
;; :lang/haskell
;; :lang/html
;; :lang/jade
;; :lang/javascript
;; :lang/json
;; :lang/julia
;; :lang/latex
;; :lang/less
;; :lang/markdown
;; :lang/mustache
;; :lang/python
;; :lang/ruby
;; :lang/rust
;; :lang/sass
;; :lang/slim
;; :lang/stylus
;; :lang/swift
;; :lang/typescript
;; -----------------------------------
;; 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
[
;; :pigments
]
;; 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
]
;; 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"]
;; 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" 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"]]}
]
}