From 48a9f2c45840d968260eebc43d18a5837981d62b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 18 Jan 2025 00:15:17 +0100 Subject: [PATCH] tmux/display,mouse --- sh/tmux.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sh/tmux.sh b/sh/tmux.sh index 0dee536..bb88334 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -4,8 +4,12 @@ rwx_tmux_setup() { rwx_file_write "${HOME}/.tmux.conf" "\ +# display duration +set -g display-time 1536 # reload configuration -bind-key r source-file ~/.tmux.conf \\; display-message '↑ .tmux.conf' +bind r source-file ~/.tmux.conf \\; display '↑ .tmux.conf' +# toggle mouse +bind t set -g mouse \\; display 'Mouse: #{mouse}' # select sessions with Alt & ↑ | ↓ bind -n M-Down switch-client -n