From db8dd67caa7363c2088ea8f99f547048b195a087 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Mon, 10 Feb 2025 06:15:50 +0100 Subject: Added different key for macos tmux --- .tmux.conf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf index f71afa0..4739600 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -5,8 +5,15 @@ set-option -g set-titles on set-option -sg escape-time 10 set-option -g mouse off -set -g prefix M-x -bind M-x send-prefix +if-shell "uname | grep -q Linux" { + set -g prefix M-x + bind M-x send-prefix +} + +if-shell "uname | grep -q Darwin" { + set -g prefix M-z + bind M-z send-prefix +} set -g base-index 1 set-window-option -g pane-base-index 1 -- cgit v1.2.3