mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-05 00:48:45 +00:00
update tmux.conf
This commit is contained in:
+16
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user