summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <curtis.mcenroe@adgear.com>2016-09-29 15:42:55 -0400
committerJune McEnroe <curtis.mcenroe@adgear.com>2016-09-29 15:42:55 -0400
commit2f40013c16c2f88479b642e8574d6bfd88c45465 (patch)
treea50c243be222ab84e2e30235d96cffaca61afaed
parentUse shiftwidth=4 as default (diff)
downloadsrc-2f40013c16c2f88479b642e8574d6bfd88c45465.tar.gz
src-2f40013c16c2f88479b642e8574d6bfd88c45465.zip
Reconfigure tmux
Still not sure what I'm doing with it. How do Emacs users deal with
pressing control?
-rw-r--r--.tmux.conf26
1 files changed, 14 insertions, 12 deletions
diff --git a/.tmux.conf b/.tmux.conf
index bc0a0102..b3ab7fdd 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,21 +1,25 @@
 unbind C-b
-set -g prefix C-a
-bind a send-prefix
-
+set -g prefix C-e
+bind C-e send-prefix
 set -g escape-time 0
 
-set -g default-terminal 'screen-256color'
-
 set -g base-index 1
+set -g renumber-windows on
 
 set -g status-position top
+set -g status-left '|'
+set -g status-right '[#S] %H:%M'
+set -g window-status-format ' #{=21:pane_title} '
+set -g window-status-current-format '#[reverse] #{pane_title} '
+set -g window-status-separator '|'
 
 bind t new-window -c '#{pane_current_path}'
-bind . command-prompt "swap-window -t '%%'"
+bind C-o last-window
 
 bind s split-window -v -c '#{pane_current_path}'
 bind v split-window -h -c '#{pane_current_path}'
 
+bind C-w last-pane
 bind h select-pane -L
 bind j select-pane -D
 bind k select-pane -U
@@ -26,14 +30,12 @@ bind H swap-pane -U
 
 bind -r < resize-pane -L 1
 bind -r > resize-pane -R 1
-bind -r - resize-pane -D 1
-bind -r + resize-pane -U 1
+bind -r - resize-pane -U 1
+bind -r + resize-pane -D 1
+
+bind = select-layout even-horizontal
 
-setw -g mode-keys vi
 bind -t vi-copy v begin-selection
 bind -t vi-copy C-v rectangle-toggle
 bind -t vi-copy y copy-selection
 bind p paste-buffer
-
-bind C-a last-pane
-bind = select-layout even-horizontal