-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
33 lines (23 loc) · 1.17 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
set -ga terminal-overrides ',xterm*:smcup@:rmcup@'
set -sg escape-time 0
set -g mouse on
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
set -g @scroll-speed-num-lines-per-scroll 3
# override default
set -g status-right-length 60 # was 40
set -g status-right '#h, %Y-%m-%d %H:%M' # was something like '"#h", #S'
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# defatul is ~2000
set-option -g history-limit 10000
# Allow title update from within tmux apps
set-option -g set-titles on
# Host-specific overrides
if-shell "[ -e ~/.tmux.conf.local ]" "source-file ~/.tmux.conf.local"
# Extend default variable list of:
# "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY WAYLAND_DISPLAY SWAYSOCK I3SOCK"
# Join current window into a previous one. Should act as inverse of Ctrl-b !
bind-key j "join-pane -s !"