From 4251fec30ea6317f4f3ec2bab377b5743f38c5af Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 9 Apr 2024 15:33:30 +0200 Subject: [PATCH] tmux: Change ! to place behind current window Analog to c the new window should be placed behind the current one. --- .config/tmux/tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index e8d0437..5e3cef7 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -54,6 +54,9 @@ bind > splitw -h -c "#{pane_current_path}" # Create new window with CWD as PWD and place it after the current one bind c neww -a -c "#{pane_current_path}" -t #{active_window_index} +# Break off the current pane to a new window behind the current one +bind ! breakp -a -t #{active_window_index} + # Resource config bind R source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" \; \ display "Sourced $XDG_CONFIG_HOME/tmux/tmux.conf"