2022-08-16 04:59:49 +00:00
|
|
|
# Configuration for tmux
|
|
|
|
set -g default-terminal "screen-256color" # more colors
|
|
|
|
set -ga terminal-overrides ",xterm-256color*:Tc" # more colors
|
|
|
|
set -s escape-time 0
|
2022-08-22 09:17:11 +00:00
|
|
|
set -g display-time 1500
|
|
|
|
|
|
|
|
# rebind C-b to C-a; easier to type on qwerty
|
|
|
|
unbind C-b
|
|
|
|
set -g prefix C-a
|
2022-08-16 04:59:49 +00:00
|
|
|
|
2022-11-14 17:07:11 +00:00
|
|
|
# bind r source-file ~/.tmux.conf \; display "tmux.conf reloaded at ~/.tmux.conf"
|
2022-08-16 04:59:49 +00:00
|
|
|
set -g base-index 1 # rebind to start from 0
|
|
|
|
setw -g pane-base-index 1
|
|
|
|
set-option -g renumber-windows on
|
|
|
|
|
|
|
|
# status bar
|
2023-03-22 23:35:03 +00:00
|
|
|
# set -g status-style 'bg=#333333 fg=#5eacd3'
|
|
|
|
# set -g status-interval 60
|
|
|
|
# set -g status-right-style 'bg=#333333 fg=#5eacd3'
|
|
|
|
# set -g status-right-length 50
|
|
|
|
set -g status-right '#{cpu_bg_color} CPU: #{cpu_icon} #{cpu_percentage} | %a %h-%d %H:%M '
|
|
|
|
# set -g status-left " "
|
2022-08-16 04:59:49 +00:00
|
|
|
|
2022-11-11 03:24:08 +00:00
|
|
|
# Keybinds
|
|
|
|
set-window-option -g mode-keys vi
|
2023-03-22 23:35:03 +00:00
|
|
|
|
|
|
|
# # Log
|
|
|
|
# set-option -g history-file /tmp/.tmux.log
|