38 lines
864 B
Plaintext
38 lines
864 B
Plaintext
# 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
|
|
|
|
# Enable mouse mode (tmux 2.1 and above)
|
|
set -g mouse on
|
|
|
|
# Add some plugins
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
|
|
set -g @plugin 'dracula/tmux'
|
|
set -g @dracula-show-powerline true
|
|
set -g @dracula-show-left-icon window
|
|
set -g @dracula-show-timezone false
|
|
set -g @dracula-plugins "cpu-usage ram-usage"
|
|
set -g @dracula-cpu-usage-colors "dark_purple white"
|
|
set -g @dracula-show-flags false
|
|
|
|
#set -g @plugin "arcticicestudio/nord-tmux"
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|