~/.config/presto/config.toml # or $PRESTO_CONFIG_DIR/config.toml
It is optional. Without it presto shows the PRs of the repository in the current directory.
On first launch it writes a commented default. Keys are snake_case; every key has a default.
a directory under which repos are cloned by their short name, e.g. ~/code → ~/code/api
Checkout resolves the clone in this order: local_path on the repository, riff’s
storage.repos["owner/repo"], paths.base_path/<name>, riff’s storage.basePath/<name>.
riff’s config is read from ~/.config/riff/config.toml, so if you use riff there is nothing to
set up.
extra regular expressions (matched against the login) that mark an account as a bot
Bots are excluded from comment counts, review threads and approvals. [bot], dependabot,
renovate, codecov, github-actions and the usual suspects are built in.
Override any binding. Keys are the action names from
src/keybindings/defaults.ts;
values are a key, an uppercase letter for shift, or ctrl+ / shift+ combinations.
[keys]
"nav.down" = "j"
"nav.up" = "k"
"action.open" = "return"# Enter
"action.checkout" = "space"
"ui.commandPalette" = "ctrl+p"
"action.forceRefresh" = "R"# shift+r
"action.repoBrowser" = "ctrl+o"# unbound by default