From 1fef7508186a755bc1e0c651a4815167848f19ec Mon Sep 17 00:00:00 2001 From: Kkoi <79646021+lmBored@users.noreply.github.com> Date: Wed, 28 Jan 2026 22:08:41 +0100 Subject: feat: add option to use tmux display-popup (#3058) This is a "continuation" of #1177 - which was a draft that used FIFOs (named pipes) to get output from the popup, however this causes popup not being closed properly, so in this PR I use tmpfile to store the result and read after popup closes. @ellie could you review this PR please? P.S. Thank you @immae for sharing your idea! ## Feature + Option to use tmux popup window in `config.toml` + Customize window width/height in `config.toml` + Tmux display-popup for `zsh, bash, fish` ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- crates/atuin-client/config.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'crates/atuin-client/config.toml') diff --git a/crates/atuin-client/config.toml b/crates/atuin-client/config.toml index 94f4a180..69cfea84 100644 --- a/crates/atuin-client/config.toml +++ b/crates/atuin-client/config.toml @@ -296,6 +296,22 @@ records = true ## Default filter mode can be overridden with the filter_mode setting. # filters = [ "global", "host", "session", "session-preload", "workspace", "directory" ] +[tmux] +## Enable using atuin with tmux popup (requires tmux >= 3.2) +## When enabled and running inside tmux, Atuin will use a popup window for interactive search. +## Set to false to disable the popup. +## This can also be controlled with the ATUIN_TMUX_POPUP environment variable. +## Note: tmux popup is currently supported in zsh, bash, and fish shells. +# enabled = true + +## Width of the tmux popup window +## Can be a percentage, or integer (e.g. "100" means 100 characters wide) +# width = "80%" + +## Height of the tmux popup window +## Can be a percentage, or integer (e.g. "100" means 100 lines tall) +# height = "60%" + [ui] ## Columns to display in the interactive search, from left to right. ## The selection indicator (" > ") is always shown first implicitly. -- cgit v1.3.1