-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.sagerc.example
More file actions
82 lines (73 loc) · 2.05 KB
/
Copy path.sagerc.example
File metadata and controls
82 lines (73 loc) · 2.05 KB
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
# vim: ft=toml
#
# Example `sage` config file.
#
# Location (loaded in this order):
# - $SAGERC (env var, explicit path)
# - ./.sagerc
# - $HOME/.sagerc
#
# Format: TOML
#
# CLI flags always override this file.
# Theme + UI chrome.
theme = "ocean" # "default" | "ocean" | "light"
color = "auto" # "auto" | "always" | "never"
alt_screen = true
mouse = true # enable mouse wheel scrolling
# Content handling.
ansi = true # allow ESC[...m in content
syntax = true # enable syntax highlighting for file paths
gutter = "auto" # "auto" | "always" | "never" | true | false
# Search defaults.
regex = false
ignore_case = false
# Ctrl-K find tool (defaults to rg/ag/slg/grep).
# - String form is whitespace-split (no shell quoting).
# - Array form preserves arguments.
# find_cmd = "rg --vimgrep --"
# find_cmd = ["rg", "--vimgrep", "--"]
# Syntax override map (pattern -> syntax key).
# Matching:
# - exact basename (e.g. "Makefile")
# - exact extension (e.g. "rs", "toml", "sagerc")
# - glob patterns with '*' and '?' (matched against basename unless pattern contains '/')
#
# [syntax_map]
# "Makefile" = "make"
# "*.bashrc" = "bash"
# "sagerc" = "toml"
# Plugins (QuickJS / JavaScript).
plugins = true
# plugins_dir = "/absolute/path/to/plugins"
# plugin_log_path = "/absolute/path/to/plugins.log"
# plugin_load_timeout_ms = 500
# plugin_event_timeout_ms = 50
# plugin_mem_limit_mb = 64
# plugin_stack_limit_kb = 1024
# Safety toggles.
raw = false # unsafe: render bytes as-is
binary = false # allow NUL bytes in input
# Palette overrides (0–255). Uncomment to tweak.
# status_bg = 236
# status_fg = 252
# status_dim = 244
# brand = 114
# accent = 81
# warn = 214
# err = 203
# mode_regex = 141
# match_bg = 24
# match_fg = 231
# Syntax palette overrides (0–255). Uncomment to tweak.
# syn_comment = 244
# syn_string = 114
# syn_number = 215
# syn_keyword = 81
# syn_type = 110
# syn_function = 221
# syn_constant = 141
# syn_operator = 245
# syn_heading = 110
# syn_emphasis = 214
# syn_preproc = 203