31 lines
798 B
Bash
31 lines
798 B
Bash
# Change command shortcut
|
|
unbind C-b
|
|
set -g prefix C-x
|
|
bind C-x send-prefix
|
|
|
|
# Renumbered windows and panels
|
|
set -g renumber-window on
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
bind c new-window -c "#{pane_current_path}"
|
|
|
|
# Fix Tmux for colors
|
|
set-option -a terminal-features 'xterm-256color:RGB'
|
|
set -g allow-passthrough on
|
|
set -ga update-environment TERM
|
|
set -ga update-environment TERM_PROGRAM
|
|
|
|
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g @plugin 'tmux-plugins/tmux-open'
|
|
set -g @plugin 'wfxr/tmux-power'
|
|
set -g @plugin 'z3z1ma/tmux-gruvbox'
|
|
set-option -g @plugin 'b0o/tmux-autoreload'
|
|
|
|
set -g @gruvbox_flavour 'dark'
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|
|
|