forked from slap-editor/slap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slap.ini
129 lines (102 loc) · 2.15 KB
/
slap.ini
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 the default slap configuration. You can override these settings in
; ~/.slap/config.
;;;;;;;;;;;;
; Settings ;
;;;;;;;;;;;;
[header]
messageDuration = 5000
blinkRate = 500
headerPosition = "top"
[fileBrowser]
width = 12
[logger]
level = "info"
;;;;;;;;;;;;
; Bindings ;
;;;;;;;;;;;;
[bindings]
new = "C-n"
open = "C-o"
nextPane = "C-M-pagedown"
prevPane = "C-M-pageup"
togglePaneList = "C-l"
toggleFileBrowser = "f10"
quit = "C-q"
help = "f2"
[pane.bindings]
close = "C-w"
[paneList.bindings]
cancel = "escape"
[editorPane.bindings]
saveAs = "C-s"
; Unfortunately, "C-S-s" is picked up as "C-s", and "C-M-s" isn't picked up at
; all, so a user-friendly binding for promptless save is impossible. Uncomment
; the following lines for an alternative binding for promptless save:
;save = "C-s"
;saveAs = "M-S-s"
find = "C-f"
goLine = "C-g"
[form.bindings]
cancel = "escape"
[form.baseFind.bindings]
next[] = "enter"
next[] = "down"
prev[] = "up"
; These don't work in most terminal emulators
prev[] = "S-enter"
prev[] = "M-enter"
prev[] = "C-enter"
[dialog.bindings]
hide = "escape"
;;;;;;;;;;
; Styles ;
;;;;;;;;;;
; Available styles:
; bold, underline, blink, inverse, invisible, (light)black, (light)red,
; (light)green, (light)yellow, (light)blue, (light)magenta, (light)cyan,
; (light)white
[header.style]
bg = "blue"
info = "{blue-bg}{white-fg}"
success = "{green-bg}{white-fg}"
warning = "{yellow-bg}{black-fg}"
error = "{red-bg}{white-fg}"
blinkStyle = "{inverse}"
overwrite = "{red-bg}{white-fg}"
[header.messageContent.style]
blink = true
[form.style]
bg = "lightblue"
bold = true
[fileBrowser]
selectedBg = "cyan"
[pane.style]
changed = "{yellow-fg}{bold}"
[paneList.style]
bg = "blue"
paneList = "{light-blue-bg}"
[paneList.list]
selectedBg = "cyan"
[button.style]
bg = "white"
fg = "black"
bold = true
[button.style.hover]
bg = "lightblue"
fg = "white"
[button.success.style.hover]
bg = "green"
[button.warning.style.hover]
bg = "yellow"
[button.danger.style.hover]
bg = "red"
;;;;;;;;;;;;;;;;;;;;;;
; Performance tweaks ;
;;;;;;;;;;;;;;;;;;;;;;
[perf]
profile = false
[form.find.perf]
findThrottle = 150
[screenOpts]
smartCSR = true
fullUnicode = false