From 7af9a293c8d315eb8e84a3dad905ec695f5d9c33 Mon Sep 17 00:00:00 2001 From: Michael Ochmann Date: Tue, 9 Aug 2022 11:35:42 +0200 Subject: [PATCH] added tmux config --- .tmux.conf | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..309838e --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,43 @@ +# remap prefix from 'C-b' to 'C-a' +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +# split panes using | and - +bind | split-window -h +bind - split-window -v +unbind '"' +unbind % + +# 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-select-window on +#set -g mouse-select-pane on +#set -g mouse-resize-pane on + +# Enable mouse mode (tmux 2.1 and above) +set -g mouse on + +###################### +### DESIGN CHANGES ### +###################### + +# loud or quiet? +set -g visual-activity off +set -g visual-bell off +set -g visual-silence off +setw -g monitor-activity off +set -g bell-action none + + +# messages +set -g message-style 'fg=colour232 bg=colour16 bold' + + +# SHELL +set -g default-command /usr/local/bin/bash