Skip to content

Commit

Permalink
toggle mouse in tmux.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jintonic committed Apr 1, 2024
1 parent cf4d6a9 commit 34bdeff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions INSTALL/Docker/tmux.conf
Original file line number Diff line number Diff line change
@@ -9,6 +9,9 @@ set -g status-style bg=blue,fg=black
setw -g window-status-current-style bg=black,fg=white
setw -g mode-keys vi # https://blog.sanctum.geek.nz/vi-mode-in-tmux/

# toggle mouse on/off using <prefix> v for external copy/paste functions
bind v set -g mouse

# use <prefix>:list-keys to check current key bindings
bind -n MouseUp1StatusDefault split-window -h # left click empty space in status bar
bind -n MouseUp1Border next-layout # left click pane border to change layout

0 comments on commit 34bdeff

Please sign in to comment.