Last active
September 7, 2021 16:10
-
-
Save jwhett/f1197f431909bd13ee5a7dbaa7f62ed5 to your computer and use it in GitHub Desktop.
TMUX config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind C-a | |
unbind C-b | |
set -g mouse on | |
set -g prefix C-a | |
set -s escape-time 1 | |
set -g base-index 1 | |
set -g default-terminal "screen-256color" | |
set -g status-left-length 40 | |
set -g status-left "#h - [#S]" | |
set -g monitor-activity off | |
set -g visual-activity off | |
setw -g mode-keys vi | |
setw -g pane-base-index 1 | |
bind C-a send-prefix | |
# Old Prefix movement | |
#bind h select-pane -L | |
#bind j select-pane -D | |
#bind k select-pane -U | |
#bind l select-pane -R | |
## | |
# Non-prefix movement | |
bind -n C-h select-pane -L | |
bind -n C-j select-pane -D | |
bind -n C-k select-pane -U | |
bind -n C-l select-pane -R | |
bind l send-keys C-l | |
## | |
bind | split-window -h | |
bind - split-window -v | |
bind -r H resize-pane -L 5 | |
bind -r J resize-pane -D 5 | |
bind -r K resize-pane -U 5 | |
bind -r L resize-pane -R 5 | |
bind -r ( switch-client -p | |
bind -r ) switch-client -n | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy" | |
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy" | |
bind r source-file ~/.tmux.conf \; | |
bind R move-window -r | |
bind C-s set-window-option synchronize-panes | |
set -g default-command fish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment