Files
dotfiles/.config/bacon/prefs.toml
2026-02-04 18:16:46 +02:00

76 lines
2.2 KiB
TOML

#:schema https://dystroy.org/bacon/.bacon.schema.json
wrap = false
summary = false
reverse = false
# grace_period = "15ms" # You can set it to "none" if it's useless for you.
help_line = true
show_changes_count = true
# Exporting "locations" (by setting its 'auto' to true) lets you use
# them in an external tool, for example as a list of jump locations
# in an IDE or in a language server.
# (See https://dystroy.org/bacon/config/#export-locations),
#
# Possible line_format parts:
# - kind: warning|error|test
# - job: name of the job
# - item-idx: index of the item
# - path: complete absolute path to the file
# - line: 1-based line number
# - column: 1-based column
# - message: description of the item
# - context: unstyled lines of output, separated with escaped newlines (`\\n`)
[exports.locations]
auto = false
exporter = "locations"
path = ".bacon-locations"
line_format = "{item-idx}: {kind} {path}:{line}:{column} {message}"
# If you want some job to emit a beep on success or on failure,
# you need to globally enable sound, and you may set up the max volume here
#
# With sound enabled, you may set up sound on a job with eg
# on_success = "play-sound(name=90s-game-ui-6,volume=50)"
# on_failure = "play-sound(name=beep-warning,volume=100)"
[sound]
enabled = false # set true to allow sound
base_volume = "100%" # global volume multiplier
# Uncomment and change the key-bindings you want to define
# (some of those ones are the defaults and are just here for illustration)
[keybindings]
# esc = "back"
# g = "scroll-to-top"
# shift-g = "scroll-to-bottom"
# k = "scroll-lines(-1)"
# j = "scroll-lines(1)"
# ctrl-c = "quit"
# ctrl-c = "copy-unstyled-output"
# ctrl-q = "quit"
# q = "quit"
# F5 = "rerun"
# alt-s = "toggle-summary"
# alt-w = "toggle-wrap"
# alt-b = "toggle-backtrace"
# Home = "scroll-to-top"
# End = "scroll-to-bottom"
# Up = "scroll-lines(-1)"
# Down = "scroll-lines(1)"
# PageUp = "scroll-pages(-1)"
# PageDown = "scroll-pages(1)"
# Space = "scroll-pages(1)"
# a = "job:check-all"
# i = "job:initial"
# c = "job:clippy"
# c = "job:clippy-all"
# d = "job:doc-open"
# t = "job:test"
# r = "job:run"
# ctrl-e = "export:analysis"
[jobs.cl]
command = ["cargo", "cl"]
need_stdout = false