From 05c365a54dd074872a6c46f7bd0c6680f7588f71 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 23 Jun 2022 19:34:54 +0430 Subject: updates --- .tmux.conf | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf index 3bb850a..b2507db 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -18,6 +18,14 @@ set -g @continuum-save-interval '15' set -g @fzf-url-history-limit '2000' set -g @fzf-url-fzf-options '-w 50% -h 50% --multi -0 --no-preview --no-border' +#unbindings -- these are reserved for vim use +unbind Up +unbind Down +unbind Left +unbind Right +unbind-key p +unbind-key n + # set -g automatic-rename on # set -g renumber-windows on # set -g- set-titles on @@ -71,6 +79,12 @@ bind-key M-w command-prompt -p "Move Current Window To? (e.g 3.1; session_name:6 # bind-key -r -T prefix C-M-h select-pane -L \; swap-pane -t ! # bind-key -r -T prefix C-M-l select-pane -R \; swap-pane -t ! +# hide a pane and bring it back again +bind-key ! break-pane -d -n _hidden_pane +bind-key @ join-pane -s $.0 + +bind-key p popup -w 80% -h 80% -E ksh + #to support nested tmux sessions for ssh workflows bind -T root F6 \ set prefix None \;\ @@ -129,12 +143,6 @@ bind P pipe-pane -o "cat >>~/.tmuxrecording/#W.log" \; display "Toggled logging bind-key -n C-S-Left swap-window -t -1\; select-window -t -1 bind-key -n C-S-Right swap-window -t +1\; select-window -t +1 -#unbindings -- these are reserved for vim use -unbind Up -unbind Down -unbind Left -unbind Right - # Enable activity alerts. setw -g monitor-activity off set -g visual-activity off -- cgit v1.2.3