From 3e2d26db489ccf75e548a4ee8a1200f01747b6e8 Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Mon, 17 Jun 2019 11:18:28 +0200 Subject: [PATCH] [tmux] Try to swap ctrl+b for something more convenient --- home/.tmux.conf | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/home/.tmux.conf b/home/.tmux.conf index eea6382..ea7012d 100644 --- a/home/.tmux.conf +++ b/home/.tmux.conf @@ -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