34 lines
785 B
Plaintext
34 lines
785 B
Plaintext
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
|
|
|
set -g display-panes-time 3000
|
|
set -g repeat-time 720
|
|
|
|
# Customization
|
|
|
|
# Split window with | & -
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
unbind '"'
|
|
unbind %
|
|
|
|
# Switch panes using Alt-arrow without prefix
|
|
bind -n M-Left select-pane -L
|
|
bind -n M-Right select-pane -R
|
|
bind -n M-Up select-pane -U
|
|
bind -n M-Down select-pane -D
|
|
|
|
# Enable mouse control (clickable windows, panes, resizable panes)
|
|
# For -V 2.0
|
|
#set -g mouse-select-window on
|
|
#set -g mouse-select-pane on
|
|
#set -g mouse-resize-pane on
|
|
# For -V 2.1
|
|
set -g mouse on
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|
|
|