From 8157cf9595caa4938169193ccab5f3a337910098 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Thu, 1 Dec 2022 18:08:17 +0100 Subject: [PATCH] Add '.tmux.conf' --- .tmux.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..a5f9a5f --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,17 @@ +# split panes using | and - +unbind '"' +unbind % +bind | split-window -h +bind - split-window -v + +# reload config +bind r source-file ~/.tmux.conf + +# switch panes using Alt-arrow without prefix +bind -n M-Left select-pane -L +bind -n M-Right select-pane -R +bind -n M-Up select-pane -U +bind -n M-Down select-pane -D + +# Enable mouse control (clickable windows, panes, resizable panes) +set -g mouse on