Skip to content

Commit

Permalink
Add tmux config
Browse files Browse the repository at this point in the history
  • Loading branch information
tzkz committed Feb 22, 2023
0 parents commit 5c3d071
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# set terminal
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color:Tc"

# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix

# Make first window be 1
set -g base-index 1

# set vi mode
set-window-option -g mode-keys vi

# refresh 'status-left' and 'status-right' more often
set -g status-interval 5

# Status line
set -g status-left-length 32
set -g status-left "[#S]"
set -g status-right "%Y-%m-%d %H:%M "

# Fix escape key delay
set -sg escape-time 0

# Increase history limit
set -g history-limit 50000

# Increase time to display messages
set -g display-time 4000

0 comments on commit 5c3d071

Please sign in to comment.