-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
63 lines (54 loc) · 2.38 KB
/
Copy pathconfig.example.toml
File metadata and controls
63 lines (54 loc) · 2.38 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
# gistui configuration — copy to ~/.config/gistui/config.toml
# (or $XDG_CONFIG_HOME/gistui/config.toml if XDG_CONFIG_HOME is set)
# All fields are optional; omitting a field uses the built-in default.
# Maximum directory depth for recursive file discovery (r key).
# Depth 0 = cwd only, 1 = one level deep, 2 = two levels deep, etc.
scan_depth = 2
# Unchanged context lines kept around each change in the diff view. The `c` key
# in the diff toggles between this radius and the full file. Default 3.
diff_context = 3
# Remembered state of the diff view's `c` toggle: true shows the full file,
# false collapses to diff_context lines. The app rewrites this when you press `c`.
diff_show_full = false
# Colour theme: "dark" (default) or "light".
# Use "light" for terminals with a light background colour.
# theme = "dark"
# Enable mouse support: wheel scroll, click to focus/select, double-click to open,
# and a clickable [✕] close button on pop-up screens. Default: true.
# (The `--no-mouse` CLI flag also forces it off for a single session.)
mouse = true
# Check GitHub on startup for a newer release and show a hint if one exists. Default: true.
# Throttled to once per day; fails silently when offline.
# (The `--no-update-check` CLI flag also forces it off for a single session.)
check_updates = true
# Treat a difference that is *only* a file-final newline as "no difference". GitHub stores
# gist content with a trailing newline, so a local file without one would otherwise show a
# phantom change in the diff and trigger a needless overwrite confirm. Default: true.
# Set false for strict, byte-exact diffs.
ignore_trailing_newline = true
# Directories skipped when recursive local file discovery is active (r key).
# Hidden directories (names starting with ".") are always skipped regardless
# of this list. Add project-specific build output dirs here as needed.
skip_dirs = [
"node_modules",
"target", # Rust
"dist",
"build",
".next", # Next.js
"__pycache__", # Python
"vendor",
".cache",
"venv",
".venv",
"env",
".tox",
"coverage",
]
# Pinned local-file ↔ gist mappings are managed by the app via the p key;
# you can also edit them here directly. Each entry requires local_path and
# gist_id; the other fields are optional.
#
# [[pinned]]
# local_path = "~/.zshrc"
# gist_id = "abc123def456"
# gist_filename = ".zshrc" # defaults to the local filename if omitted