From 9955cfdd8d43ba886dd81b50713e04febc09d207 Mon Sep 17 00:00:00 2001 From: Tilman List Date: Tue, 27 Oct 2020 17:20:33 +0100 Subject: [PATCH] changed scope of `tmux_repl_id` from `global` to `current` By setting the tmux_repl_id in the `current` scope it is possible to have different REPLs for different buffers or windows. --- rc/windowing/repl/tmux.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/windowing/repl/tmux.kak b/rc/windowing/repl/tmux.kak index eb507eac..b0e833ec 100644 --- a/rc/windowing/repl/tmux.kak +++ b/rc/windowing/repl/tmux.kak @@ -19,7 +19,7 @@ define-command -hidden -params 1.. tmux-repl-impl %{ tmux_args="$1" shift tmux $tmux_args "$@" - printf "set-option global tmux_repl_id '%s'" $(tmux display-message -p '#{session_id}:#{window_id}.#{pane_id}') + printf "set-option current tmux_repl_id '%s'" $(tmux display-message -p '#{session_id}:#{window_id}.#{pane_id}') } }