43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
##########################################################
|
|
## ##
|
|
## My TMUX Config ##
|
|
## ##
|
|
##########################################################
|
|
|
|
# Rebind the prefix key
|
|
unbind C-b
|
|
set-option -g prefix C-Space
|
|
|
|
# Map pane selection to more easy vim like bindings
|
|
bind-key -n 'M-h' select-pane -L
|
|
bind-key -n 'M-j' select-pane -D
|
|
bind-key -n 'M-k' select-pane -U
|
|
bind-key -n 'M-l' select-pane -R
|
|
bind h split-window -h
|
|
bind v split-window -v
|
|
|
|
# set Status bar options
|
|
set-option -g status-position top
|
|
set-window-option -g window-status-style fg=White,bg="#61f230"
|
|
set-window-option -g window-status-current-style fg=White,bg="#9aff78"
|
|
set-option -g allow-rename off
|
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
|
|
set -g @plugin 'dracula/tmux'
|
|
set -g @dracula-plugins 'cpu-usage git ram-usage time'
|
|
set -g @dracula-show-left-icon \uebc8
|
|
|
|
# set some sanity options
|
|
# - This makes sure to keep the window/pane count starting at 1
|
|
setw -g base-index 1
|
|
setw -g pane-base-index 1
|
|
# - This prevents me from having to press escape twice
|
|
set -s escape-time 50
|
|
|
|
# allow mouse interaction
|
|
set-option -g mouse on
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|