From a6909decc763ea4e625a6a45911e252b5014ee30 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Fri, 8 Mar 2024 14:02:47 +0100 Subject: [PATCH] [TMUX] Add config file --- .tmux.conf | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..ca41802 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,53 @@ +# set new panes to open in current directory +bind c new-window -c "#{pane_current_path}" + +# split panes using | and - +bind | split-window -h -c "#{pane_current_path}" +bind - split-window -v -c "#{pane_current_path}" +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 + +# don't rename windows automatically +set-option -g allow-rename off + +###################### +### 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 + + +# panes +set -g pane-border-style 'fg=colour1' +set -g pane-active-border-style 'fg=colour3' + +# statusbar +set -g status-position bottom +set -g status-justify left +set -g status-style 'fg=colour6' +set -g status-left '' +set -g status-right '%Y-%m-%d %H:%M ' +set -g status-right-length 50 +set -g status-left-length 10 + +setw -g window-status-current-style 'fg=colour0 bg=colour6 bold' +setw -g window-status-current-format ' #I #W #F ' + +setw -g window-status-style 'fg=colour6 dim' +setw -g window-status-format ' #I #[fg=colour7]#W #[fg=colour6]#F ' + +setw -g window-status-bell-style 'fg=colour2 bg=colour1 bold' + +# messages +set -g message-style 'fg=colour2 bg=colour0 bold'