mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-29 20:44:59 +01:00
36 lines
774 B
Plaintext
36 lines
774 B
Plaintext
set -g default-terminal "tmux-256color"
|
|
set-option -sa terminal-overrides ',xterm-256color:RGB'
|
|
set -g mouse on
|
|
|
|
# remap prefix from 'C-b' to 'C-a'
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
# split panes using | and -
|
|
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
|
|
|
|
|
|
# tmux plugin manager and theme
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
# Theme
|
|
set -g @plugin 'wfxr/tmux-power'
|
|
set -g @tmux_power_theme 'forest'
|
|
|
|
|
|
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|