summaryrefslogtreecommitdiff
path: root/.config/tmux
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux')
-rw-r--r--.config/tmux/tmux.conf45
1 files changed, 28 insertions, 17 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 454ac98..a12f902 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -1,20 +1,34 @@
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
-set -g base-index 1
-set-window-option -g automatic-rename on
-set-option -g set-titles on
set -g default-terminal screen-256color
-set -g status-keys vi
+
+set -g mouse on
set -g history-limit 10000
-setw -g mode-keys vi
-setw -g monitor-activity on
set -sg escape-time 0
-# Kill window/pane without confirmation
-bind-key & kill-window
-bind-key x kill-pane
+set -g base-index 1
+set-option -g set-titles on
+set-option -g renumber-windows on
+set-window-option -g automatic-rename on
+
+# Quiet
+set-option -g visual-activity off
+set-option -g visual-bell off
+set-option -g visual-silence off
+set-option -g bell-action none
+set-window-option -g monitor-activity off
-# remap prefix from 'C-b' to 'C-Space'
+# Statusline
+set -g status-justify centre
+set -g status-left ''
+set -g status-right ''
+set-option -g status-style bg=default
+setw -g window-status-current-style fg=colour81,bold
+setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
+setw -g window-status-style fg=colour138
+setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
+
+# Remap prefix from 'C-b' to 'C-Space'
unbind C-b
set-option -g prefix C-Space
bind-key C-Space send-prefix
@@ -22,12 +36,9 @@ bind-key C-Space send-prefix
bind-key v split-window -h
bind-key s split-window -v
+# Kill window/pane without confirmation
+bind-key & kill-window
+bind-key x kill-pane
+
# Reload config
bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf
-
-# THEME
-set -g status-bg black
-set -g status-fg white
-set -g status-interval 60
-set -g status-left-length 30
-set -g status-right ' #{?client_prefix,#[reverse]<Prefix>#[noreverse] ,}"#{=21:pane_title}" %H:%M %d-%b-%y'