|
|
@@ -16,8 +16,14 @@ set-option -g visual-activity on
|
|
|
# current window, rather than the smallest session to which it is attached.
|
|
|
set-window-option -g aggressive-resize on
|
|
|
|
|
|
-# mouse support (for scrollback)
|
|
|
+# Mouse Support! (for scrollback, and lazy manipulation of windows/panes)
|
|
|
+# At least with iTerm2, this plays very well with vim mouse support :D Yay!
|
|
|
+# Note: text-selection by default does a tmux copy (paste with prefix+]).
|
|
|
+# Hold alt/meta/option for system selection/copy.
|
|
|
set-option -g mode-mouse on
|
|
|
+set-option -g mouse-select-pane
|
|
|
+set-option -g mouse-resize-pane on
|
|
|
+set-option -g mouse-select-window on
|
|
|
|
|
|
# act like vim
|
|
|
set-option -g status-keys vi
|