Skip to content

Commit

Permalink
Mouse interaction with tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
jlogsdon committed Apr 19, 2013
1 parent fccc864 commit e7092a4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ set -g status-right-length 90
set -g status-left "#(~/.tmux/status-left.sh)"
set -g status-right "#(~/.tmux/status-right.sh)"

setw -g mode-mouse on
setw -g mouse-select-window on
setw -g mouse-select-pane on
setw -g mouse-resize-pane on

set -g default-terminal "screen-256color"

unbind %
Expand Down Expand Up @@ -36,3 +41,8 @@ set -g status-utf8 on
bind R source-file ~/.tmux.conf \; display-message "Config reloaded"
unbind +
bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom
unbind _
bind _ last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom

0 comments on commit e7092a4

Please sign in to comment.