From d035a107db29424494af805d412b300f5943c0ef Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Mon, 9 Jan 2023 23:29:58 +0100 Subject: Improve tmux config Use vi keys where possible; keep a larger scrollback buffer; make status line more useful. --- tw/home/files/tmux.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tw/home/files/tmux.conf') diff --git a/tw/home/files/tmux.conf b/tw/home/files/tmux.conf index f5a2379c..b7e1d398 100644 --- a/tw/home/files/tmux.conf +++ b/tw/home/files/tmux.conf @@ -12,11 +12,15 @@ set -g set-titles-string '#T (tmux:#S:#W)' set -s escape-time 0 +set -g status-keys vi +set -g mode-keys vi +set -g history-limit 100000 + # status bar set -g status-bg colour8 set -g status-fg white set -g status-justify left -set -g status-right '#[fg=colour10]#S:#I:#P #[fg=colour14]#{t:client_activity}' +set -g status-right '#{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,}"#{=21:pane_title}" #{t:client_activity}' # keymap unbind-key j -- cgit v1.2.3