From d2a3d91ba5b7e63ed4f2ca383e0eab6f3edfc7fb Mon Sep 17 00:00:00 2001 From: thek4n Date: Wed, 15 May 2024 08:11:36 +0300 Subject: [PATCH] fix(tmux): mappings --- home/user/.config/tmux/mappings.conf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 5dc6015..4c773ee 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -97,16 +97,16 @@ bind -n M-n next-window bind -n M-Tab last-window -bind -n M-1 if-shell 'tmux select-window -t 1' '' 'new-window -t 1 -n 1' -bind -n M-2 if-shell 'tmux select-window -t 2' '' 'new-window -t 2 -n 2' -bind -n M-3 if-shell 'tmux select-window -t 3' '' 'new-window -t 3 -n 3' -bind -n M-4 if-shell 'tmux select-window -t 4' '' 'new-window -t 4 -n 4' -bind -n M-5 if-shell 'tmux select-window -t 5' '' 'new-window -t 5 -n 5' -bind -n M-6 if-shell 'tmux select-window -t 6' '' 'new-window -t 6 -n 6' -bind -n M-7 if-shell 'tmux select-window -t 7' '' 'new-window -t 7 -n 7' -bind -n M-8 if-shell 'tmux select-window -t 8' '' 'new-window -t 8 -n 8' -bind -n M-9 if-shell 'tmux select-window -t 9' '' 'new-window -t 9 -n 9' -bind -n M-0 if-shell 'tmux select-window -t 10' '' 'new-window -t 10 -n 10' +bind -n M-1 if-shell 'tmux select-window -t 1' '' 'new-window -t 1 -n 1 -c "#{pane_current_path}"' +bind -n M-2 if-shell 'tmux select-window -t 2' '' 'new-window -t 2 -n 2 -c "#{pane_current_path}"' +bind -n M-3 if-shell 'tmux select-window -t 3' '' 'new-window -t 3 -n 3 -c "#{pane_current_path}"' +bind -n M-4 if-shell 'tmux select-window -t 4' '' 'new-window -t 4 -n 4 -c "#{pane_current_path}"' +bind -n M-5 if-shell 'tmux select-window -t 5' '' 'new-window -t 5 -n 5 -c "#{pane_current_path}"' +bind -n M-6 if-shell 'tmux select-window -t 6' '' 'new-window -t 6 -n 6 -c "#{pane_current_path}"' +bind -n M-7 if-shell 'tmux select-window -t 7' '' 'new-window -t 7 -n 7 -c "#{pane_current_path}"' +bind -n M-8 if-shell 'tmux select-window -t 8' '' 'new-window -t 8 -n 8 -c "#{pane_current_path}"' +bind -n M-9 if-shell 'tmux select-window -t 9' '' 'new-window -t 9 -n 9 -c "#{pane_current_path}"' +bind -n M-0 if-shell 'tmux select-window -t 10' '' 'new-window -t 10 -n 10 -c "#{pane_current_path}"' # Moving pane to window by Alt+Shift+Number