commit 81d36f83734f373ff12dc50a1b48d52fc5ae7301
parent d2af268b856f2635ad082895811d360e8b1ecd0a
Author: Alex Balgavy <EMAIL>
Date: Sun, 29 Sep 2019 16:17:12 -0400
tmux: bindings
Former-commit-id: 4977b57370bf9a7f929b52b46ca082caf0c90202
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
@@ -2,6 +2,7 @@
unbind % # unbind vertical split
unbind '"' # unbind horizontal split
unbind C-b # unbind default leader key
+unbind C-o
unbind j
bind A command-prompt "rename-window %%"
bind C-j previous-window
@@ -9,7 +10,6 @@ bind C-k next-window
bind M-- select-layout "even-vertical"
bind M-r rotate-window
bind M-| select-layout "even-horizontal"
-bind o select-layout "active-only"
bind-key -n C-down next
bind-key -n C-left prev
bind-key -n C-right next
@@ -18,7 +18,9 @@ bind-key -r C-h resize-pane -L
bind-key -r C-j resize-pane -D
bind-key -r C-k resize-pane -U
bind-key -r C-l resize-pane -R
+bind-key C-d detach-client
bind-key Enter break-pane
+bind-key a send-prefix
bind-key J command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key Space list-panes
bind-key s split-window -v # split pane horizontally
@@ -33,6 +35,8 @@ set -g history-limit 30000
set -g mouse on
set -g prefix C-a
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
+set -g default-command /usr/bin/zsh
+set -g default-shell /usr/bin/zsh
set-option -g default-terminal "xterm-256color"
set-option -g pane-active-border-style fg=green
set-option -g set-titles on
@@ -53,5 +57,5 @@ set-window-option -g xterm-keys on # for vim
setw -g aggressive-resize on
setw -g automatic-rename
setw -g mode-keys vi
-setw -g mode-style bg=black
+setw -g mode-style bg='#222222'
setw -g window-status-current-style reverse