Skip to content

Commit

Permalink
fix(dot_tmux.conf): enable mouse support in tmux configuration
Browse files Browse the repository at this point in the history
Enable mouse support in tmux to allow for scrolling and clicking
within tmux sessions. Although mouse support can interfere with
copying text, the benefits of being able to use the scroll wheel
and click to select panes outweigh the downsides.
  • Loading branch information
mauvehed committed Jan 30, 2025
1 parent af5959d commit a4b8247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dot_tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ bind n next-window
unbind p
bind p previous-window

# mouse disabled as it prevents copying from tmux easily
# mouse disabld as it prevents copying from tmux easily
# down side is that scroll wheel and clicking are also disabled
set -g mouse off
set -g mouse on

# Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L
Expand Down

0 comments on commit a4b8247

Please sign in to comment.