29 lines
717 B
Bash
29 lines
717 B
Bash
# Set prefix to Ctrl+A
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
bind C-a send-prefix
|
|
|
|
set -g mouse on
|
|
set -g history-limit 30000
|
|
set -g base-index 1
|
|
set-window-option -g xterm-keys on
|
|
|
|
set-option -sg escape-time 10
|
|
set-option -g default-terminal "tmux-256color"
|
|
|
|
# Enable vi bindings
|
|
set-window-option -g mode-keys vi
|
|
|
|
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
|
|
# Other examples:
|
|
# set -g @plugin 'github_username/plugin_name'
|
|
# set -g @plugin 'git@github.com/user/plugin'
|
|
# set -g @plugin 'git@bitbucket.com/user/plugin'
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|