set -g default-shell /bin/zsh set -g mouse on set -g default-terminal "screen-256color" set -g repeat-time 250 set -sg escape-time 0 set -g status-style bg=colour235,fg=colour249 set-window-option -g window-status-current-style fg=colour251,bright bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" bind -n C-S-Left swap-window -t -1 bind -n C-S-Right swap-window -t +1 # These are "fake" keybindings: we *want* to bind to key combinations # that tmux can't actually detect (for one reason or another, but # generally because it's not an ASCII-represented key chord). Instead # we bind the commands to arbitrary codes that we probably won't want # to actually press, and then configure the terminal editor (i.e. see # kitty.conf) to actually pass the relevant keys along. # # Technically this also means we can customize the effective bindings # per terminal emulator. bind -n M-S-a swap-window -t -1 \; previous-window ## bind to C-S-, (ctrl <) bind -n M-S-b swap-window -t +1 \; next-window ## bind to C-S-. (ctrl >) bind -n M-S-c previous-window ## bind to C-, (ctrl ,) bind -n M-S-d next-window ## bind to C-. (ctrl .) # End "fake" keybindings.