Configuration
Configuration keys, their defaults, and what they change.
Rip reads one file: ~/.config/rip/config.toml. When XDG_CONFIG_HOME is set, the file is $XDG_CONFIG_HOME/rip/config.toml. Every key is optional. A missing key keeps its default.
The file#
Press ,Ctrl+, to open the file. When the file does not exist, Rip creates a template with configuration examples and comments. Edit it in Rip or in any other editor.
To apply a change, run Rip: Reload Config from the command palette, or restart Rip.
When Rip cannot parse the file, it uses the defaults. Startup does not show the error. Run Rip: Reload Config to display it.
Keys#
The tables below come from the configuration code for this release. The font default depends on your platform. Keys marked optional appear as commented examples in the template. Their example values are not defaults.
A default of unset means the key has no value. Without both light-theme and dark-theme set, Rip uses theme.
With plan-file unset, Rip opens the first existing file in this order:
docs/ROADMAP.mdROADMAP.mddocs/PLAN.mdPLAN.mdTODO.md
Appearance#
Theme: pick one with ⌘K ⌘T. Bundled: one-dark, one-light, catppuccin-mocha, catppuccin-latte, tokyo-night, tokyo-night-day, github-dark, github-light, dracula, nord, rose-pine, rose-pine-dawn, gruvbox-dark, gruvbox-light, solarized-dark, solarized-light, nightfox, vscode-dark-modern, darcula, macos-classic, everforest-dark, kanagawa, osaka-jade, ethereal, pitch-black. Or a name in ~/.config/rip/themes/<name>.toml, or a path. light-theme / dark-theme follow the system appearance.
| Key | Default | Note |
|---|---|---|
theme |
"one-dark" |
|
light-theme |
unset |
Optional. Example: "one-light". |
dark-theme |
unset |
Optional. Example: "one-dark". |
Fonts#
| Key | Default | Note |
|---|---|---|
font-family |
"Menlo" (macOS), "monospace" (Linux) |
New config files use the platform default. |
font-size |
14 |
|
ui-font-family |
".SystemUIFont" |
|
ui-font-size |
13 |
|
line-height |
1.5 |
Editing#
| Key | Default | Note |
|---|---|---|
tab-size |
4 |
|
indent |
"spaces" |
"spaces" or "tabs" |
soft-wrap |
false |
|
line-numbers |
true |
|
relative-line-numbers |
false |
|
cursor-blink |
true |
|
scroll-beyond-last-line |
false |
|
show-whitespace |
"selection" |
"none", "all", "selection" |
indent-guides |
true |
|
trim-trailing-whitespace-on-save |
true |
|
ensure-final-newline-on-save |
true |
Behavior#
| Key | Default | Note |
|---|---|---|
markdown-preview |
"off" |
Markdown files open with: "split" (live preview beside), "reading" (rendered in place), "off" |
hot-exit |
true |
quit and close windows without asking; unsaved buffers come back next launch |
auto-update |
true |
check at launch and daily; restart only when asked |
diff-layout |
"split" |
"split" (side by side) or "unified" |
diff-context |
3 |
Layout#
| Key | Default | Note |
|---|---|---|
sidebar-width |
240 |
|
show-sidebar |
true |
|
plan-file |
unset |
Optional. Example: "docs/PLAN.md". opened beside your code with cmd-alt-p |
Code host CLIs#
GitHub CLI and GitLab CLI. Unset or empty uses PATH and common tool directories.
| Key | Default | Note |
|---|---|---|
gh-path |
unset |
Optional. Example: "/opt/homebrew/bin/gh". absolute path or ~/path, without arguments |
glab-path |
unset |
Optional. Example: "/opt/homebrew/bin/glab". absolute path or ~/path, without arguments |
code-host |
unset |
Optional. Example: "gitlab". "github" or "gitlab" when the origin host name says neither |
Keys#
Keybindings. Keystroke syntax: [ctrl-][alt-][shift-][cmd-]key, chords separated by spaces ("cmd-k cmd-w"). Value is an action name, or "none" to unbind. Run "Rip: Show Keymap" to list every action and binding.
[keys]
"cmd-p" = "workspace::ToggleFileFinder"
"cmd-shift-p" = "workspace::ToggleCommandPalette"
"cmd-d" = "editor::SelectNext"Find GitHub CLI and GitLab CLI#
Rip looks for gh and glab in its inherited PATH, then in common tool folders. On macOS, these include Homebrew and MacPorts. On Linux, they include /usr/local/bin and /snap/bin. Rip also checks ~/.local/bin on both platforms.
If you installed a CLI elsewhere, set gh-path or glab-path to the executable. Use an absolute path or a path that starts with ~/. Do not add command arguments or shell quotes inside the value.
gh-path = "/opt/homebrew/bin/gh"
glab-path = "/opt/homebrew/bin/glab"Run Rip: Reload Config, then refresh the request list. New host operations use the setting, including reviews, worktree badges, and Markdown task status. Remove the setting or use an empty string to restore automatic detection.
Pick the code host#
Rip reads the origin remote of the repository. A host name that contains github uses GitHub CLI, and a name that contains gitlab uses GitLab CLI. SSH aliases follow your SSH configuration. If GitLab CLI maps a separate SSH host to an API host with ssh_host, Rip uses that mapping and GitLab CLI. Otherwise, an unrecognized name uses GitHub CLI. For a self-hosted GitLab that Rip does not recognize, set code-host:
code-host = "gitlab"The setting applies to every repository. Remove it to read the host from the remote again.
Themes#
theme names a bundled theme, a file in the themes folder next to config.toml, or a path. Set light-theme and dark-theme together and Rip follows the system appearance.
K TCtrl+K Ctrl+T previews every theme and writes your choice to this file. A TOML file in that themes folder adds a theme, or replaces a bundled theme with the same name.
Key bindings#
The [keys] table maps keystrokes to actions. Keyboard shortcuts explains the notation and the table.