107 lines
3.9 KiB
YAML
107 lines
3.9 KiB
YAML
# {{@@ header() @@}}
|
|
|
|
############################################################
|
|
# Behaviour
|
|
############################################################
|
|
|
|
selection:
|
|
save_to_clipboard: true
|
|
|
|
cursor:
|
|
unfocused_hollow: false
|
|
|
|
live_config_reload: true
|
|
|
|
|
|
############################################################
|
|
font:
|
|
############################################################
|
|
|
|
size: {{@@ font.size.small @@}}
|
|
normal:
|
|
family: {{@@ font.mono @@}}
|
|
|
|
|
|
############################################################
|
|
colors:
|
|
############################################################
|
|
|
|
# Default colors
|
|
primary:
|
|
background: '{{@@ color.bg @@}}'
|
|
foreground: '{{@@ color.txt @@}}'
|
|
|
|
cursor:
|
|
text: '#000000'
|
|
cursor: '{{@@ accent_color @@}}'
|
|
|
|
normal:
|
|
black: '{{@@ color.normal.black @@}}'
|
|
red: '{{@@ color.normal.red @@}}'
|
|
green: '{{@@ color.normal.green @@}}'
|
|
yellow: '{{@@ color.normal.yellow @@}}'
|
|
blue: '{{@@ color.normal.blue @@}}'
|
|
magenta: '{{@@ color.normal.magenta @@}}'
|
|
cyan: '{{@@ color.normal.cyan @@}}'
|
|
white: '{{@@ color.normal.white @@}}'
|
|
|
|
bright:
|
|
black: '{{@@ color.normal.black | lighter @@}}'
|
|
red: '{{@@ color.normal.red | lighter @@}}'
|
|
green: '{{@@ color.normal.green | lighter @@}}'
|
|
yellow: '{{@@ color.normal.yellow | lighter @@}}'
|
|
blue: '{{@@ color.normal.blue | lighter @@}}'
|
|
magenta: '{{@@ color.normal.magenta | lighter @@}}'
|
|
cyan: '{{@@ color.normal.cyan | lighter @@}}'
|
|
white: '{{@@ color.normal.white | lighter @@}}'
|
|
|
|
dim:
|
|
black: '{{@@ color.normal.black | darker @@}}'
|
|
red: '{{@@ color.normal.red | darker @@}}'
|
|
green: '{{@@ color.normal.green | darker @@}}'
|
|
yellow: '{{@@ color.normal.yellow | darker @@}}'
|
|
blue: '{{@@ color.normal.blue | darker @@}}'
|
|
magenta: '{{@@ color.normal.magenta | darker @@}}'
|
|
cyan: '{{@@ color.normal.cyan | darker @@}}'
|
|
white: '{{@@ color.normal.white | darker @@}}'
|
|
|
|
draw_bold_text_with_bright_colors: false
|
|
|
|
background_opacity: {{@@ opacity @@}}
|
|
|
|
|
|
############################################################
|
|
hints:
|
|
############################################################
|
|
alphabet: {{@@ key.hints @@}}
|
|
enabled:
|
|
- regex: "(mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
|
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
|
command: xdg-open
|
|
post_processing: true
|
|
mouse:
|
|
enabled: true
|
|
mods: None
|
|
binding:
|
|
key: U
|
|
mods: Control|Shift
|
|
|
|
|
|
############################################################
|
|
key_bindings:
|
|
############################################################
|
|
- { key: {{@@ key.up | upper @@}}, mode: Vi|~Search, action: Up }
|
|
- { key: {{@@ key.down | upper @@}}, mode: Vi|~Search, action: Down }
|
|
- { key: {{@@ key.left | upper @@}}, mode: Vi|~Search, action: Left }
|
|
- { key: {{@@ key.right | upper @@}}, mode: Vi|~Search, action: Right }
|
|
- { key: {{@@ key.insertMode | upper @@}}, mode: Vi|~Search, action: ScrollToBottom }
|
|
- { key: {{@@ key.insertMode | upper @@}}, mode: Vi|~Search, action: ToggleViMode }
|
|
- { key: Up, mods: Control|Shift, mode: ~Alt, action: ScrollLineUp, }
|
|
- { key: Down, mods: Control|Shift, mode: ~Alt, action: ScrollLineDown }
|
|
- { key: PageUp, mods: Control|Shift, mode: ~Alt, action: ScrollHalfPageUp }
|
|
- { key: PageDown, mods: Control|Shift, mode: ~Alt, action: ScrollHalfPageDown }
|
|
- { key: N, mods: Control|Shift, action: SpawnNewInstance }
|
|
{%@@ if key.layout == "colemak" @@%}
|
|
- { key: T, mode: Vi|~Search, action: SemanticRightEnd }
|
|
{%@@ endif @@%}
|
|
|