diff --git a/dot_tmux.conf.tmpl b/dot_tmux.conf.tmpl index 9d6f966..330c08c 100644 --- a/dot_tmux.conf.tmpl +++ b/dot_tmux.conf.tmpl @@ -24,7 +24,7 @@ setw -g aggressive-resize on # =========================================================================== # Other options -set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2) +set -q -g status-utf8 on # expect UTF-8 (tmux lower than 2.2) setw -q -g utf8 on set -g status on @@ -57,7 +57,7 @@ setw -g visual-activity on set-option -g automatic-rename on set-option -g automatic-rename-format '#{b;s/{{ .username }}/~/:pane_current_path}' -# Allows us to use C-a a to send commands to a TMUX session inside +# Allows us to use C-a a [command] to send commands to a TMUX session inside # another TMUX session bind-key a send-prefix @@ -65,6 +65,9 @@ bind-key a send-prefix setw -g monitor-activity on set -g visual-activity on +# zoom pane +bind-key Z resize-pane -Z + # Split windows into panes: CTRL-A + h or v bind-key h split-window -v -c '#{pane_current_path}' bind-key v split-window -h -c '#{pane_current_path}' @@ -101,7 +104,7 @@ bind-key / swap-window -t -1 bind-key * swap-window -t +1 # define keystrokes to send favorite commands defined as env var -# ALT-SHIFT- +# ALT-SHIFT-[number] bind-key M-1 send-keys "$FAVORITE_COMMAND1" bind-key M-2 send-keys "$FAVORITE_COMMAND2" bind-key M-3 send-keys "$FAVORITE_COMMAND3"