38 lines
943 B
Text
38 lines
943 B
Text
|
# Setup refresh bind
|
||
|
unbind r
|
||
|
bind r source-file ~/.tmux.conf
|
||
|
|
||
|
# General tmux settings
|
||
|
set -g default-terminal "screen-256color"
|
||
|
set -g mouse on
|
||
|
set -g status-interval 5
|
||
|
set -g status-position top
|
||
|
set -g base-index 1
|
||
|
set -g set-titles on
|
||
|
set -g automatic-rename on
|
||
|
setw -g automatic-rename on
|
||
|
setw -g renumber-windows on
|
||
|
|
||
|
# Setup vim keybinds
|
||
|
setw -g mode-keys vi
|
||
|
bind-key h select-pane -L
|
||
|
bind-key j select-pane -D
|
||
|
bind-key k select-pane -U
|
||
|
bind-key l select-pane -R
|
||
|
|
||
|
# List of plugins
|
||
|
set -g @plugin 'tmux-plugins/tpm'
|
||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||
|
set -g @plugin 'dracula/tmux'
|
||
|
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||
|
|
||
|
# Dracula customizations
|
||
|
set -g @dracula-show-powerline true
|
||
|
set -g @dracula-plugins "ssh-session cpu-usage ram-usage time"
|
||
|
set -g @dracula-show-flags true
|
||
|
set -g @dracula-show-empty-plugins false
|
||
|
set -g @dracula-show-left-icon window
|
||
|
|
||
|
# Initialize TMUX plugin manager
|
||
|
run '~/.tmux/plugins/tpm/tpm'
|