update tmux.conf

This commit is contained in:
Georgi Gardev
2024-03-05 01:11:40 +02:00
parent 1afcfcc7f2
commit 99f55332f8
+16 -3
View File
@@ -8,18 +8,27 @@
set -g prefix C-a
unbind C-b
# Start in newer bash
set-option -g default-command "/usr/local/bin/bash --login"
# Disable delay
# Start in newer bash
# set-option -g default-comma# Disable delay
set -sg escape-time 1
# Increase scrollback buffer size from 2000 to 50000 lines
set -g history-limit 50000
set -g base-index 1 # start windows numbering at 1
setw -g pane-base-index 1 # make pane numbering consistent with windows
set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2)
setw -q -g utf8 on
# Focus events enabled for terminals that support them
set -g focus-events on
# Super useful when using "grouped sessions" and multi-monitor setup
setw -g aggressive-resize on
# -------------------
# Visual Settings
# -------------------
@@ -49,6 +58,9 @@ STYLE_AQUA="#[fg=$TMUX_USERNAME_FG,bg=$TMUX_STATUS_AQUA,bold]"
# Status bar
set-option -g status-position bottom
# Refresh 'status-left' and 'status-right' more often, from every 15s to 5s
set -g status-interval 5
# Status mid style
set -g status-style $STYLE_DEFAULT
@@ -140,6 +152,7 @@ bind P choose-buffer # see all buffers
bind C-c run-shell "bash -c 'tmux show-buffer | pbcopy'" \; display 'Copied to clipboard'
# Tmux Plugin manager
# https://github.com/tmux-plugins/tpm