summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-07 16:32:09 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-07 18:25:58 +0200
commita8e96131b873729c40644c34fc7ac060aa50168c (patch)
tree80a7b0d10c736c67d3736fe9af4cd9b5085d1ddc /.config
parenta61858e541e81c8b25d1e650416657dc9fa5c1bc (diff)
downloaddotfiles-a8e96131b873729c40644c34fc7ac060aa50168c.tar.gz
dotfiles-a8e96131b873729c40644c34fc7ac060aa50168c.zip
misc: edit tmux prefix and status line format
Diffstat (limited to '.config')
-rw-r--r--.config/tmux/tmux.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 967f5c0..0431696 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -8,8 +8,16 @@ set-option -g default-shell /usr/bin/bash
set-option -g mode-keys vi
set-option -g status-keys vi
set-option -g mouse on
+
set-option -g status-right-length 50
set-option -g status-left-length 20
+set-option -g window-status-format "[#I | #{p18:#{=/18/…:window_name}#{?window_flags,#F,}}]"
+set-option -g window-status-current-format "[ ▶ #I | #{p18:#{=/18/…:window_name}#{?window_flags,#F,}}]"
+set-option -g window-status-current-style "bold"
+
+unbind C-b
+set-option -g prefix C-Space
+bind-key C-space send-prefix
bind-key -T root M-: command-prompt
bind-key -T root M-M choose-tree