My tmux.conf file

Created on 2021-11-24 by Paweł Kraszewski

tmux configs

This is my tmux.conf configuration file, as a guide for funny stuff:

set -g prefix C-a
unbind C-b
bind C-a send-prefix

set -g history-limit 10000

set -g base-index 1
set -g pane-base-index 1

bind C-down new-window
bind C-left prev
bind C-right next
#bind -n C-left swap-window -t -1
#bind -n C-right swap-window -t +1

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

bind | split-window -h
bind - split-window -v
unbind '"'
unbind %

set -g mouse on

set -g set-titles on
set -g set-titles-string "#T"

setw -g aggressive-resize on

set -g status-style "bg=blue fg=white bold"
set -g status-justify centre
set -g status-interval 5
#set -g status-position top

set -g monitor-activity on
set -g visual-activity on

setw -g window-status-current-style "bold"
setw -g window-status-style "dim"

setw -g  window-status-activity-style "fg=yellow bg=blue bold"
setw -g  window-status-bell-style "fg=red bg=blue bold"

set -g status-left-length 16
set -g status-left '#[fg=yellow]#h#[fg=white]:#[fg=green]#S#[default]'
set -g status-right '#[fg=green][#(cut -d" " -f1-3 /proc/loadavg)] #[fg=yellow]%Y-%m-%d #[fg=yellow]%H:%M#[default]'

new-session -As1
#attach-session -t $HOST
bind r source-file /etc/tmux.conf
Paweł Kraszewski
Paweł Kraszewski

Multi-paradigm programmer, embedded systems developer, proud cat servant.

  • Languages: Rust/Go/Erlang/C++
  • OSes: Linux/FreeBSD/OpenBSD
  • Platforms: x86/x86_64/ARM