[tmux] Try to swap ctrl+b for something more convenient

This commit is contained in:
Sebastian Schulze 2019-06-17 11:18:28 +02:00
parent fd58548405
commit 3e2d26db48
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 8 additions and 9 deletions

View File

@ -1,3 +1,7 @@
unbind C-b
set-option -g prefix C-o
bind-key C-o send-prefix
set -g default-terminal "screen-256color"
bind s split-window -v
@ -15,6 +19,9 @@ bind > resize-pane -R 1
bind - resize-pane -D 1
bind + resize-pane -U 1
bind-key C-Tab next-window
bind-key C-S-Tab previous-window
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
@ -47,18 +54,10 @@ set -g visual-activity on
# Colours!
set-window-option -g window-status-current-format "#[fg=red]#[fg=white]#I#F  #W#[fg=red]"
set-option -gw xterm-keys on
set-option -g status-bg colour235
set-option -g status-fg colour136
set-option -g status-attr default
set-window-option -g window-status-fg colour244
set-window-option -g window-status-bg default
set-window-option -g window-status-current-fg colour166
set-window-option -g window-status-current-bg default
set-option -g pane-border-fg colour235
set-option -g pane-active-border-fg colour240
set-option -g message-bg colour235
set-option -g message-fg colour166
set-option -g display-panes-active-colour colour33
set-option -g display-panes-colour colour166
set-window-option -g clock-mode-colour colour64