From f24ca98b66baa06496aeee38261c6e493c93dc89 Mon Sep 17 00:00:00 2001 From: Sebastian Lenzlinger <74497638+sebaschi@users.noreply.github.com> Date: Tue, 25 Apr 2023 00:26:43 +0200 Subject: [PATCH] TMUX --- tmux/tmux.conf | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tmux/tmux.conf diff --git a/tmux/tmux.conf b/tmux/tmux.conf new file mode 100644 index 0000000..a13687e --- /dev/null +++ b/tmux/tmux.conf @@ -0,0 +1,49 @@ +#To reload config file in current session with Prefix r +bind r source-file ~/.tmux.conf \; display "Reloaded" + +#Intuitive Bindings for splitting windows +bind | split-window -h +bind - split-window -v + +# moving between panes with Prefix h,j,k,l (vim binding) +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +# Quick window selection +bind -r C-h select-window -t :- +bind -r C-l select-window -t :+ + +# Easier Resize +bind H resize-pane -L 5 +bind J resize-pane -D 5 +bind K resize-pane -U 5 +bind L resize-pane -R 5 + +set -g default-terminal "screen-256color" + +# set colors for the active window +setw -g window-status-current-style fg=white,bold,bg=red + +# colors for pane border +setw -g pane-border-style fg=green,bg=black +setw -g pane-active-border-style fg=white,bg=colour83 + +# active pane normal, other shaded out +setw -g window-style fg=colour240,bg=colour235 +setw -g window-active-style fg=white,bg=black + +# enable activity alerts +setw -g monitor-activity on +set -g visual-activity on + +# setting the delay between prefix and command +set -s escape-time 1 + +# setting the base index for windows to 1 instead of 0 +set -g base-index 1 + +# allow mouse interaction +set -g mouse on; +