changeset 496:3954af64d52c

Updated config for mouse wheel on macos
author unexist
date Wed, 01 Jul 2020 14:12:47 +0200
parents 3aff0a2bfc0b
children f19b23b11328
files .tmux.conf
diffstat 1 files changed, 16 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/.tmux.conf	Fri Jun 12 12:29:08 2020 +0200
+++ b/.tmux.conf	Wed Jul 01 14:12:47 2020 +0200
@@ -1,7 +1,7 @@
 
 # @file tmux.conf
 #
-# @copyright (c) 2010-2011, Christoph Kappel <unexist@dorfelite.net>
+# @copyright (c) 2010-2020, Christoph Kappel <unexist@subforge.org>
 # @version $Id$
 #
 
@@ -44,22 +44,31 @@
 set -g set-titles-string "tmux:#W#I"
 set -g base-index 1
 set -g status-left "-- #W --"
-set -g status-left-attr bold
+#set -g status-left-attr bold
 set -g status-right "#H:#S"
-set -g pane-active-border-bg black
-set -g pane-active-border-fg black
+#set -g pane-active-border-bg black
+#set -g pane-active-border-fg black
 set -g default-terminal "screen-256color"
 #set -g default-path "$HOME"
 
+# Mouse wheel
+set -g mouse on
+
+set-option -g status-keys vi
+set-window-option -g mode-keys vi
+
+bind-key -T copy-mode-vi WheelUpPane send-keys -X scroll-up
+bind-key -T copy-mode-vi WheelDownPane send-keys -X scroll-down
+
 # Window options
 setw -g monitor-activity off
 setw -g automatic-rename on
 
 # Colors
-setw -g window-status-current-fg red
+#setw -g window-status-current-fg red
 
 set -g status-bg black
 set -g status-fg white
 
-set -g message-bg white
-set -g message-fg black
+#set -g message-bg white
+#set -g message-fg black