summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-12-01 12:01:58 -0500
committerJune McEnroe <june@causal.agency>2016-12-01 12:01:58 -0500
commit0a180b636fee8a359fcadaefeefa82e12e6f9ef4 (patch)
tree197e26ed5f7bea0091c0714155fbc89ef224346c
parentRemove iTerm tux profile (diff)
downloadsrc-0a180b636fee8a359fcadaefeefa82e12e6f9ef4.tar.gz
src-0a180b636fee8a359fcadaefeefa82e12e6f9ef4.zip
Clean up tmux.conf a bit more
-rw-r--r--.tmux.conf42
1 files changed, 19 insertions, 23 deletions
diff --git a/.tmux.conf b/.tmux.conf
index bfd97921..1ac87793 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,44 +1,40 @@
-unbind C-b
-set -g prefix C-e
-bind 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 default-terminal 'screen-256color'
+set -g escape-time 0
 
-set -g status-position top
-set -g status-left '|'
-set -g status-right '[#S] %H:%M'
-set -g window-status-format ' #{=20:pane_title} '
-set -g window-status-current-format '#[reverse] #{pane_title} '
-set -g window-status-separator '|'
-set -g status-style bg=black,fg=white
+unbind C-b
+set -g prefix C-e
+bind e send-prefix
 
 bind t new-window -c '#{pane_current_path}'
-bind C-e last-window
-
 bind s split-window -v -c '#{pane_current_path}'
 bind v split-window -h -c '#{pane_current_path}'
 
+bind C-e last-window
 bind C-w last-pane
-bind h select-pane -L
-bind j select-pane -D
-bind k select-pane -U
-bind l select-pane -R
+bind h previous-window
+bind l next-window
 
 bind L swap-pane -D
 bind H swap-pane -U
 
+bind = select-layout even-horizontal
 bind -r < resize-pane -L 1
 bind -r > resize-pane -R 1
 bind -r - resize-pane -U 1
 bind -r + resize-pane -D 1
 
-bind = select-layout even-horizontal
-
+bind y copy-mode
+bind p paste-buffer
 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
+
+set -g status-position top
+set -g status-style bg=black,fg=white
+set -g window-status-separator '|'
+set -g window-status-format ' #{=20:pane_title} '
+set -g window-status-current-format '#[reverse] #{pane_title} '
+set -g status-left '|'
+set -g status-right '[#S] %H:%M'