-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
38 lines (29 loc) · 1.02 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
34
35
36
37
38
# Rebind prefix key
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# set Zsh as your default Tmux shell
# set-option -g default-shell /bin/zsh
# use 256 term for pretty colors
set -g default-terminal "screen-256color"
# Enable mouse support in ~/.tmux.conf
set -g mouse on
# Mouse mode keys
bind m set -g mouse on
bind M set -g mouse off
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g history-limit 10000
# Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size of any
# client connected to *that window*. Much more reasonable.
setw -g aggressive-resize on
# Allows for faster key repetition
set -s escape-time 0
# Allow us to reload our Tmux configuration while using Tmux
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Getting interesting now, we use the vertical and horizontal
# symbols to split the screen
bind | split-window -h
bind - split-window -v