Skip to content

All options

Every option with its default, as btmux generate-config prints it. Uncomment a line to change it.

# btmux configuration
# Generated by `btmux generate-config`. All values are the built-in defaults.
# Uncomment and edit any line to override that setting.
# Prefix key (tmux-style): optional C- (ctrl) and M- (alt) modifiers, then one
# character or a key name such as Space, Enter, Tab, Escape, or F1-F12.
# prefix = "C-a"
# Shell to spawn in new panes. Defaults to $SHELL / /bin/bash.
# shell = "/bin/bash"
# Where new-worktree creates a branch's worktree: {repo} and {branch} (with
# slashes as dashes) are filled in. Relative paths are beside the repo's main
# worktree; absolute and ~/ paths work too.
# worktree-path = "{repo}-{branch}"
# Milliseconds after a pane navigation or resize key during which another one
# runs without pressing the prefix again (tmux repeat-time). 0 (default) disables.
# repeat-time = 0
# VS Code's keys without the prefix: Cmd+Shift+P (Ctrl+Shift+P on Windows and
# Linux) opens the command palette, Cmd+Shift+E the file browser, and so on.
# vscode-keys = true
# Enable animations in the browser (e.g. border highlight when switching panes,
# panes growing and shrinking as they split and close). Set to false to disable
# all animated effects.
# animations = true
# Show a per-pane title bar (shell/title, working directory, dimensions, zoom
# tag) above each pane. Disabled by default.
# show-pane-titles = false
# Check GitHub for a newer release: periodically, with a toast when one is
# available, and when About btmux opens. btmux never updates itself; upgrade
# with your usual package manager.
# check-for-updates = true
# Background wallpaper image displayed behind all terminal panes.
# No image or shader is enabled by default; the following are examples.
# Accepts a URL or a local file path (absolute or ~/relative). The server
# fetches remote images itself and serves them to the browser.
# wallpaper = "https://example.com/bg.jpg"
# wallpaper = "~/Pictures/bg.png"
# Procedural WebGPU shader layers stack above the image, and effect layers
# process it; see the [[wallpaper-shader]] example below. Combined with
# shaders, the image renders at `wallpaper-resolution`.
# How visible the wallpaper is: 0.0 = not visible, 1.0 = fully visible.
# wallpaper-opacity = 0.10
# macOS desktop window theme tint: 0.0 = clear, 1.0 = opaque.
# desktop-background-opacity = 0.95
# Gaussian blur radius in pixels applied to the wallpaper. 0 = no blur.
# wallpaper-blur = 0.0
# Saturation multiplier: 0.0 = grayscale, 1.0 = normal color.
# wallpaper-saturate = 0.05
# Procedural wallpaper animation speed. 0 = frozen, 1 = normal.
# wallpaper-speed = 0.20
# Procedural wallpaper quality vs. performance: frame-rate cap (10-60) and
# render scale relative to native resolution (0.1-1.0). Lower is cheaper.
# wallpaper-fps = 30
# wallpaper-resolution = 0.40
# Let the shader react to pointer movement and to the active terminal cursor.
# wallpaper-shader-follows-mouse-cursor = true
# wallpaper-shader-follows-keyboard-input = false
# Backdrop behind every modal (session switcher, file/git browser, overlays).
# Blur radius in pixels (0-50) and dimming opacity (0.0-1.0).
# backdrop-blur = 2.0
# backdrop-dim = 0.50
# Editor popups (completions, hovers, pickers, which-key): background opacity
# (0.0-1.0) and blur radius in pixels (0-50). The blur also applies to
# Neovim floats made translucent by 'winblend'.
# popup-opacity = 0.85
# popup-blur = 2.0
# The side bar and status bar: background opacity (0.0-1.0), blur radius in
# pixels (0-80), and saturation of what shows through (0.0-3.0).
# toolbar-opacity = 0.00
# toolbar-blur = 40.0
# toolbar-saturate = 1.00
# Border-draw effect played on the switched-to pane (pure CSS). Disabled
# entirely when `animations = false`.
# "none" | "trace" (counter-clockwise perimeter) | "sweep" (clockwise conic)
# | "wipe" (diagonal gradient)
# pane-switch-border = "wipe"
# Seconds for the pane-switch border draw to complete (lower = faster).
# Clamped to 0.05-1.0.
# pane-switch-border-speed = 0.15
# Sort order for the session list.
# "created" = creation order, "mru" = most recently visited first (default),
# "alphabetical" = sorted by name.
# session-sort = "mru"
# Sort order for the window list (status bar, choose-tree, switcher). Windows
# are renumbered to match the displayed order, so the prefix+0-9 hotkeys and
# next/prev-window follow what you see.
# "created" = creation order, "mru" = most recently visited first,
# "alphabetical" = sorted by name (default).
# window-sort = "alphabetical"
# The editor prefix + e, prefix + [, the file browser, and Git mode open.
# "native" = btmux's own editor (default),
# "neovim" = your Neovim in btmux's GUI (needs Neovim 0.12+),
# "vscode" = VS Code in the browser,
# "pane" = the terminal: the pane's running Neovim, else $EDITOR in its shell
# (prefix + [ runs $EDITOR in a popup).
# editor = "native"
# How many recently-viewed windows the window-grid (prefix + w) shows as live
# thumbnails, laid out on a square-ish grid.
# window-grid-count = 4
# Show the dark or light color scheme; "auto" follows the system setting.
# appearance = "auto"
# Color schemes from $XDG_CONFIG_HOME/btmux/colors/<name>.yaml (falling back to
# ~/.config/btmux/colors/; base16/base24 YAML files), an absolute or ~/relative
# local path, or a URL to a base16/base24 YAML file.
# Bundled: btmux-default-dark, btmux-default-light (the defaults), kauz-dark,
# kauz-light. A colors-directory file of the same name takes precedence.
# A `palette` wrapper is supported.
# An inline [theme-dark] or [theme-light] below overrides these.
# colors-dark = "catppuccin-mocha"
# colors-light = "https://example.com/theme.yml"
# Per-action key overrides. Uncomment a line to rebind that action.
# [keys]
# agent-grid = "a"
# browser = "b"
# capture-pane = "["
# choose-session = "s"
# command-palette = ":"
# display-panes = "q"
# editor = "e"
# file-browser = "f"
# git-view = "g"
# kill-pane = "x"
# kill-window = "&"
# last-pane = ";"
# last-session = "L"
# list-keys = "?"
# navigate-down = "ArrowDown"
# navigate-left = "ArrowLeft"
# navigate-right = "ArrowRight"
# navigate-up = "ArrowUp"
# new-session = "C"
# new-window = "c"
# new-worktree = "W"
# next-layout = " "
# next-pane = "o"
# next-session = ")"
# next-window = "n"
# paste-clipboard = "]"
# prev-session = "("
# prev-window = "p"
# process-view = "t"
# remove-worktree = "X"
# rename-session = "$"
# rename-window = ","
# resize-pane-down = "C-ArrowDown"
# resize-pane-down-5 = "M-ArrowDown"
# resize-pane-left = "C-ArrowLeft"
# resize-pane-left-5 = "M-ArrowLeft"
# resize-pane-right = "C-ArrowRight"
# resize-pane-right-5 = "M-ArrowRight"
# resize-pane-up = "C-ArrowUp"
# resize-pane-up-5 = "M-ArrowUp"
# scroll-page-down = "PageDown"
# scroll-page-up = "PageUp"
# search-pane = "/"
# split-horizontal = "\""
# split-vertical = "%"
# swap-pane-back = "{"
# swap-pane-forward = "}"
# toggle-latex = "m"
# window-grid = "w"
# zoom-pane = "z"
# A key (after the prefix) that runs a command in a popup over the active pane,
# in its directory, through the shell. The popup closes when the command exits.
# It takes the key from any action bound to it. Repeat the table for more keys.
# [[popup]]
# key = "G"
# command = "lazygit"
# title = "Git"
# Terminal options. All are optional; absent fields use btmux's built-in
# defaults shown below.
# [terminal]
# cursor-blink = true
# scrollback = 100000
# font-size = 18.0
# font-family = "Geist Mono" # bundled: "JetBrains Mono", "Fira Code", "Cascadia Code", "Source Code Pro", "Geist Mono", "Departure Mono"
# font-weight = 300 # bold = font-weight + 200 (capped at 900)
# # bundled weight ranges: JetBrains Mono 100-800, Fira Code 300-700,
# # Source Code Pro 200-900, Cascadia Code 200-700, Geist Mono 100-900, Departure Mono 400
# # font-family and font-weight also style code-like UI text
# # (paths, names, key hints); other UI text uses Geist Sans.
# allow-transparency = false
# disable-stdin = false
# macos-edit-keys = true # Cmd+Left/Right = C-a/C-e, Cmd+Backspace = C-u, Cmd+Delete = C-k
# smooth-scroll-duration = 120.0 # ms, Neovim and file preview scrolling; 0 = instant
# cursor-animation-duration = 120.0 # ms, Neovim cursor moves; 0 = instant
# cell-background-opacity = 1.0 # 0-1, colored cell backgrounds over a transparent background (Neovim)
# Logging configuration. Both levels accept standard tracing directives:
# "error", "warn", "info", "debug", "trace", or full EnvFilter syntax like
# "btmux=debug,tower_http=info".
# BTMUX_CONSOLE_LOG and BTMUX_FILE_LOG override these values when set.
# Language servers' output goes to lsp.log.YYYY-MM-DD beside btmux's log (the
# last 14 are kept), unless file-level is "off"; a level naming the lsp target,
# like "warn,lsp=info", sends it there too.
# [log]
# console-level = "warn" # stderr output (keep the terminal quiet)
# file-level = "info" # file output ($XDG_STATE_HOME/btmux/log/btmux.log.YYYY-MM-DD, falling back to ~/.local/state/btmux/)
# VS Code (editor = "vscode").
# [vscode]
# server = "code" # "code" = `code serve-web` from an installed VS Code, "openvscode-server" = on PATH; read when it starts
# desktop = false # use desktop VS Code's settings, keybindings, and extensions
# profile = "Work" # from this desktop profile instead of the default one
# settings = "~/.config/Code/User/settings.json" # instead of desktop VS Code's
# keybindings = "~/.config/Code/User/keybindings.json"
# extensions = ["~/.vscode/extensions"] # extension folders, or folders of them
# The browser surface (prefix + b).
# [browser]
# search-url = "https://duckduckgo.com/?q=%s" # where the address bar sends text that isn't a URL
# block-ads = true # don't resolve known ad servers
# block-autoplay = true # keep media from playing until you click or press a key
# The shared Multipass instance sandboxed sessions run in. Its settings apply
# when btmux creates it.
# [multipass]
# instance = "btmux-sandbox" # default; other profiles append "-<profile>"
# image = "26.04"
# cpus = 4
# memory = "8G"
# disk = "40G"
# shell = "bash" # "bash", "zsh", or "fish"; the one new sandboxed sessions offer first (default: yours, if one of these)
# cloud-init = "~/btmux-cloud-init.yaml" # instead of btmux's (packages, Claude Code, Codex)
# copy = ["~/.config/fish/config.fish", "~/.config/starship.toml"] # into the guest's home when a pane starts, if changed
# Pull request and CI status in the corner of panes on a GitHub branch, from
# the GitHub CLI (`gh`, logged in with `gh auth login`).
# [github]
# enabled = true
# hosts = ["github.example.com"] # GitHub Enterprise hosts to ask too; others never are
# Language servers for the native editor. Built in: rust-analyzer,
# typescript-language-server, ty and ruff, gopls, clangd, lua-language-server, nil,
# bash-language-server, taplo, just-lsp, yaml-language-server, the
# vscode-langservers-extracted servers (JSON, CSS, HTML), and rumdl and harper-ls
# (Markdown), each used when found on PATH. A table of the same name replaces a
# built-in one.
# [native-editor]
# format-on-save = false
# vim = false # Vim keybindings; :w saves, :q hides, a double Esc hides only from normal mode
# virtual-text = false # show diagnostics' messages at the end of their lines
# soft-wrap = true # wrap long lines at the editor's width
# leader = " " # <leader> in vim-keys and vim-groups: one key, like "," or "<Space>"
# timeout = 1000 # ms a vim mapping that is also a prefix waits for more keys
# which-key = true # show the keys that can follow a pending prefix
# [native-editor.vim-keys] # "keys" = "action", { action = "…", modes = ["normal", "visual"], desc = "…" }, { keys = "…" }, or "none"
# [native-editor.vim-groups] # "prefix" = "name shown for it in the which-key popup"
# [language-server.rust-analyzer]
# command = "rust-analyzer"
# args = []
# environment = {}
# config = { rust-analyzer = { check = { command = "clippy" } } } # answers workspace/configuration
# [[language]]
# name = "python"
# file-types = ["py", "pyi"]
# roots = ["pyproject.toml", "setup.py"]
# language-servers = ["basedpyright"]
# [language-server.basedpyright]
# command = "basedpyright-langserver"
# args = ["--stdio"]
# The pressed keys shown on screen, for recording demos; the status bar's
# "Show pressed keys" button turns it on for one client.
# [key-overlay]
# mode = "all" # or "chords": key bindings and Ctrl, Alt, or Cmd chords only
# position = "bottom" # "bottom-left", "bottom-right", "top", "top-left", or "top-right"
# OS notifications for agent and pane events while btmux is hidden or
# unfocused. In-app toasts are unaffected.
# [notifications]
# os = true
# os-level = "attention" # lowest level shown: "info", "success", "attention", or "error"
# Wallpaper shader layers, bottom first (at most 8). A generator draws
# new content; an effect processes every layer beneath it. Use Settings >
# Wallpaper to explore shaders and parameters and copy the full TOML.
# Parameter names use kebab-case; arrays and inline tables are supported.
# [[wallpaper-shader]]
# shader = "aurora"
# [wallpaper-shader.params]
# color-a = "#a533f8"
# curtain-count = 3
# speed = 2.0 # multiplied by wallpaper-speed
# center = { x = 0.5, y = 0.0 }
#
# [[wallpaper-shader]]
# shader = "film-grain"
# enabled = true
# blend-mode = "normal" # or "screen", "multiply", "overlay", "soft-light", ...
# opacity = 1.0
# interactive = true # whether pointer and terminal-cursor input reach it
# params = { strength = 0.4 }
# Inline base16 color palette. Uncomment the entire block to activate;
# [theme-light] works the same way.
# [theme-dark]
# base00 = "#1e1e2e" # background
# base01 = "#181825" # alt background
# base02 = "#313244" # selection background
# base03 = "#585b70" # comments / bright-black
# base04 = "#45475a" # dark foreground
# base05 = "#cdd6f4" # foreground
# base06 = "#f5e0dc" # light foreground
# base07 = "#b4befe" # light background / bright-white
# base08 = "#f38ba8" # red / variables
# base09 = "#fab387" # orange
# base0A = "#f9e2af" # yellow
# base0B = "#a6e3a1" # green
# base0C = "#94e2d5" # cyan
# base0D = "#89b4fa" # blue
# base0E = "#cba4f7" # magenta
# base0F = "#f2cdcd" # brown / special