dotfiles-yadm/.tmate.conf
2022-11-26 23:00:08 -08:00

33 lines
742 B
Text
Executable file

set-option -g default-terminal screen-256color
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix
unbind %
bind | split-window -h
unbind '"'
bind - split-window -v
unbind r
bind r source-file ~/.tmux.conf
bind -r m resize-pane -Z
set -g mouse on
set-window-option -g mode-keys vi
set -g status-keys emacs
bind-key -T copy-mode-vi 'v' send -X begin-selection # start selecting text with "v"
bind-key -T copy-mode-vi 'y' send -X copy-selection # copy text with "y"
unbind -T copy-mode-vi MouseDragEnd1Pane # don't exit copy mode when dragging with mouse
# Focus events enabled for terminals that support them
set -g focus-events on
# Allow the arrow key to be used immediately after changing windows
set-option -g repeat-time 0