updated some configs
This commit is contained in:
25
.tmux.conf
25
.tmux.conf
@@ -1,16 +1,21 @@
|
||||
unbind -a
|
||||
#unbind -a
|
||||
|
||||
set -g default-terminal tmux
|
||||
set-option -sa terminal-features ',xterm:RGB'
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
# bind to C-a
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
# bind to C-b
|
||||
set-option -g prefix C-b
|
||||
bind-key C-b send-prefix
|
||||
# commands
|
||||
bind-key -T prefix : command
|
||||
# sessions
|
||||
# this will be set with sessionx further down
|
||||
#bind-key -T prefix s list-sessions
|
||||
# switch panels
|
||||
# switch panes using Alt-arrow without prefix
|
||||
#bind-key -T prefix C-a switch-client -T prefix_ca
|
||||
#bind-key -T prefix C-b switch-client -T prefix_ca
|
||||
bind-key -T prefix c new-window
|
||||
bind-key -T prefix h previous-window
|
||||
bind-key -T prefix l next-window
|
||||
@@ -64,4 +69,12 @@ setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244
|
||||
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
|
||||
|
||||
# messages
|
||||
set -g message-style 'fg=colour232 bg=colour16 bold'
|
||||
set -g message-style 'fg=colour6 bg=colour16 bold'
|
||||
|
||||
# list of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'omerxx/tmux-sessionx'
|
||||
set -g @sessionx-bind 'o'
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user