new tmux prefix

This commit is contained in:
Christian Nieves
2022-09-21 11:56:43 -05:00
parent 3b1778d228
commit dd36f98085
2 changed files with 17 additions and 0 deletions

View File

@ -1,7 +1,14 @@
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g prefix `
bind-key ` send-prefix
bind-key C-a set-option -g prefix C-a
bind-key C-b set-option -g prefix `
set-option -g history-limit 100000000
set-option -g status-position bottom
@ -80,6 +87,12 @@ bind -n S-Right next-window
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
# loop through current window's panes while zoomed
bind -r "'" select-pane -t .+1 \; resize-pane -Z
bind -r ";" select-pane -t .-1 \; resize-pane -Z
bind-key C-a set-option -g prefix C-a
# No delay for escape key press
set -sg escape-time 0