Add tmux/.tmux.conf
This commit is contained in:
parent
50e9ac06a2
commit
8cd0f1a9ec
34
tmux/.tmux.conf
Normal file
34
tmux/.tmux.conf
Normal file
@ -0,0 +1,34 @@
|
||||
# Rebind the prefix key
|
||||
unbind C-b
|
||||
set-option -g prefix C-s
|
||||
|
||||
# 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
|
||||
|
||||
# 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 0
|
||||
|
||||
# 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'
|
Loading…
Reference in New Issue
Block a user