Skip to content
Browse files

Add tmux mousing and winodw max/min

  • Loading branch information...
1 parent 4d79f58 commit c981eff367ed7c37d0addc72bce9d866f5038f57 @derekprior committed Mar 30, 2012
Showing with 11 additions and 5 deletions.
  1. +11 −5 tmux.conf
View
16 tmux.conf
@@ -37,11 +37,17 @@ bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# Mouse Stuff
-# set -g mode-mouse on
-# set -g mouse-select-pane on
-# set -g mouse-resize-pane on
-# set -g mouse-select-window on
-setw -g mode-mouse off
+set -g mode-mouse on
+set -g mouse-select-pane on
+set -g mouse-resize-pane on
+set -g mouse-select-window on
+# setw -g mode-mouse off
+
+# Maximize and restore a pane
+unbind Up
+bind Up new-window -d -n tmp \; swap-pane -s tmp.1 \; select-window -t tmp
+unbind Down
+bind Down last-window \; swap-pane -s tmp.1 \; kill-window -t tmp
# 256 Color Terminal
set -g default-terminal "screen-256color"

0 comments on commit c981eff

Please sign in to comment.
Something went wrong with that request. Please try again.