mirror of
https://github.com/slap-editor/slap.git
synced 2024-10-26 13:17:38 +03:00
112 lines
1.9 KiB
INI
112 lines
1.9 KiB
INI
; 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"
|
|
toggleFileBrowser = "f10"
|
|
toggleInsertMode = "insert"
|
|
quit = "C-q"
|
|
help = "f2"
|
|
|
|
[pane.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"
|
|
close = "C-w"
|
|
find = "C-f"
|
|
goLine = "C-g"
|
|
|
|
[form.bindings]
|
|
cancel = "escape"
|
|
|
|
[form.baseFind.bindings]
|
|
next[] = "enter"
|
|
next[] = "down"
|
|
prev = "up"
|
|
|
|
[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"
|
|
changed = "{yellow-fg}{bold}"
|
|
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 = "lightblue"
|
|
|
|
[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
|