aboutsummaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2025-02-10 06:15:50 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2025-02-10 06:15:50 +0100
commitdb8dd67caa7363c2088ea8f99f547048b195a087 (patch)
treecc2eadbfc13fba39ef2a60ffc98342c3354d3bcf /.tmux.conf
parent69583ca02a3033d1a22523984258930ef31490a6 (diff)
downloaddotfiles-db8dd67caa7363c2088ea8f99f547048b195a087.tar.gz
Added different key for macos tmux
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf11
1 files changed, 9 insertions, 2 deletions
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
5set-option -sg escape-time 10 5set-option -sg escape-time 10
6set-option -g mouse off 6set-option -g mouse off
7 7
8set -g prefix M-x 8if-shell "uname | grep -q Linux" {
9bind M-x send-prefix 9 set -g prefix M-x
10 bind M-x send-prefix
11}
12
13if-shell "uname | grep -q Darwin" {
14 set -g prefix M-z
15 bind M-z send-prefix
16}
10 17
11set -g base-index 1 18set -g base-index 1
12set-window-option -g pane-base-index 1 19set-window-option -g pane-base-index 1