fix(tmux): mappings

This commit is contained in:
thek4n 2024-05-15 08:11:36 +03:00
parent 00faaa9d54
commit d2a3d91ba5

View File

@ -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